ProfileString Function Replacement for WebFoms

hi,

What alternative function for profileString on Web Forms? It
seems that ProfileString not working on web.

Thanks

Blaire
0
Blaire
8/11/2010 6:00:23 AM
sybase.powerbuilder.net 284 articles. 0 followers. Follow

3 Replies
527 Views

Similar Articles

[PageSpeed] 45
Get it on Google Play
Get it on Apple App Store

  I use the GetConfigSetting() function to pull things out of the 
web.config file.You can use the Configuration tab on the project object 
to define your own settings.

hth,
Mark

On 8/11/2010 2:00 AM, Blaire wrote:
> hi,
>
> What alternative function for profileString on Web Forms? It
> seems that ProfileString not working on web.
>
> Thanks
>
> Blaire
0
Mark
8/11/2010 11:34:24 AM
Hi Blaire;

  FWIW:  Get/SetProfileString commands work perfectly for me since PB 11.0 
all the way now through 12.0.

Regards ... Chris
President: OSUG / STD Inc.
Blog: http://chrispollach.pbdjmagazine.com
SourceForge: http://sourceforge.net/projects/stdfndclass



"Blaire" wrote in message news:4c623c77.1419.1681692777@sybase.com...
> hi,
>
> What alternative function for profileString on Web Forms? It
> seems that ProfileString not working on web.
>
> Thanks
>
> Blaire 

0
Chris
8/13/2010 1:18:51 AM
Thanks to both of you Cris and Mark.
;)


>   I use the GetConfigSetting() function to pull things out
> of the  web.config file.You can use the Configuration tab
> on the project object  to define your own settings.
>
> hth,
> Mark
>
> On 8/11/2010 2:00 AM, Blaire wrote:
> > hi,
> >
> > What alternative function for profileString on Web
> > Forms? It seems that ProfileString not working on web.
> >
> > Thanks
> >
> > Blaire
0
Blaire
8/13/2010 8:15:52 AM
Reply:

Similar Artilces:

PowerBuilder 11 and .NET: Callback function that passes foreign types to PowerBuilder
Hi I'm using a C# assembly to catch COM events (using IConnectionPoint etc) from a particular API. But instead of handling the events in .NET, I pass the information on back to PB so it simulates a type of callback. It seems to work, but I don't know for how long. This is the one the events that gets raised. The _notifyItemMethod is the name of the method on the PowerBuilder object. The _pbSession is obtained from the .Session property of the PowerBuilder object that I pass to the constructor of the event handler. public void NtfyItem(string oper, int flags, ...

replace and trim function in .net 2.0
how to replace and trim particular part from string. string s = '2,5,7,8,9' now I want to trim ',8' from s and replace 7 by 15 finally it will be s='2,5,15,9' thanks You get the best out of others when you give the best of yourself.   harry16:string s = '2,5,7,8,9' now I want to trim ',8' from s and replace 7 by 15 finally it will be s='2,5,15,9'if the problem is specific upto this numbers only; then you can use String.Replace() as..        string s = "2,5,7,8,9";    &...

What Powerbuilder functions are not allowed to be deployed as .NET web forms?
I'm trying to move a small PB app to be a .NET webforms app and the build process is yelling that sharedata has no corresponding .NET method (yeah no duh). 1) what should one do to curcumvent share data function calls? 2)is there some white paper describing all the stuff you can't port over to a .NET web form. I'm pretty sure my large PFC based application will be a no-no , right? The only constraint on ShareData is supposed to be when you are trying to share data across sessions. Internally to the app, with that option turned off, it should work. Any chance...

How to call AJAX function from a PowerBuilder 11.5 .NET Web Forms application?
Dear All, I would like to know if it is possible (if yes then how) to call AJAX function from a PowerBuilder 11.5 .NET Web Forms application. Any pointer or information is much appreciated. Thank you very much in advance. Thanks and Best Regards, Jessica The first thing you need to do is install the AJAX Extensions for ASP.Net. They can be downloaded here: http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en You write a client-side JavaScript event handler - say myScriptFile.js. Then, in the PowerBuilder ...

replace function only replaces first occurence?
I have the following function:function previewEntry(src,pve) { var d = document;    var textvalue=d.getElementById(src).value;    textvalue=textvalue.replace(/(\n)/g,'<br/>');     textvalue=textvalue.replace(':)','<IMG SRC="Images/Smilies/Smile.gif" />');     d.getElementById(pve).innerHTML = textvalue;} When the input text is"hello, this :) is input :) text"Only the first occurence of ":)" is replaced with the image.....why?and how can I solve this...?please mark answers as 'Answered' and post back s...

Replace function: replacing an apostrophe with whatever
heyi'm having a problem with a stored procedure, to cut a long story short i need to replace apostrophe's in my text, like soSET @prOtherValue = REPLACE(@prOtherValue,''', '''')this doesn't work thowhats the work aroundcheers!!!!  SET @prOtherValue = REPLACE(@prOtherValue,''', '')***********************Dinakar NethiLife is short. Enjoy it.***********************  nar.. no goodthis is the context i have it inSET @prOtherValue = REPLACE(@prOtherValue,''', '')         ...

java script function in .net function
Dear All,I’m trying to open up a window with a form in it, but first I need to make sure that the user checked at least one or more item on a list with checkboxes in each row on the page where I push the button to open the window from.I use the following simple code:Public Sub btnLog_onClick(ByVal sender As System.Object, ByVal e As System.EventArgs)           Dim myCsv = getTickedItems(1)         If myCsv = "" Then             Exit Sub  ...

To regex.replace or to function replace? That is the question!
I need to convert the string... "www.mysite.com" into ... "mysite.jpg" The URL varies (obviously), although it will always begin with "www." and I only ever want the first word. I'm looking for the most effective code. Any thoughts? Thanks Mark Using www.HostingUK.net in the UK, and www.QuadraHosting.com.au in Australia for my ASP.NET hosting. If it's absolutely always gonna be www.something.com then just use the Replace method on your string. However if it has the potential to get more complicated than that (e.g. www.something.com or .n...

System.Data.OleDb.OleDbException: Undefined function 'replace' in expression. asp.net
 i  got this error , when i was trying to use replace function in msaccess  using c sharp as  front end... actually it was running with out any issues in ms access query window.. when i tried to run the same query through c sharp , i got "OleDbException:" .. please advice me . if you are not clearer ,please let me know thx  in advance,Raj      gimme  an idea .. should i have to write macros for this issue , if so  please give me a reference Can you please show us your code..?i think this is error due to your Query or Stored...

ASP.NET Future is replaced by ASP.NET Extensions? There will no VS2005 .NET 2.0 version?
ASP.NET Future is replaced by ASP.NET Extensions? There will no VS2005 .NET 2.0 version? I wish to use browser history function at my current .NET 2.0 project... No.. the futures release is still up there and you can use it on 2005... We do have some enhanced history support that is more integrated into the core framework in the Extensions release... this release is what we are working on productizing.  The features in ASP.NET 3.5 Extensions Preview are a continuation of the elements from ASP.NET Futures and they build signifficantly on top of the new features introduced in .N...

Call a asp.net function from a javascript function
Hi, I have this code   1 &lt;script type="text/javascript"&gt; 2 window.pageLoad = function(){ 3 $addHandler($get('btnSuccess'), 'click', loginSuccess); 4 } 5 6 </script> 7 8 <asp:Button runat="server" CssClass="booking" ID="btn_1" OnClick="SendInfo" /> 9 "mpe1" runat="server" TargetControlID="btn_1" 10 PopupControlID="pnl1&quo...

is there any function in asp.net similar to the StringTokenizer function in java
I wanna read a file, and extract data as token in each line. thanks...

How to Create Split Function on ASP.NET(VisualStudio.NET)..?
Hi.I want to split this ISD-123456872252 number to 5 TextBox...?  How..?  Which bits do you want to split? There are tons of string manipulation features in .NET - look into Substring, compare, IndexOf etc.  Cheers - Damian Barrow I  want to split ISD-34535435435355 become 32133-34434-43243-4333-32433so each split I want to apear at 5 text box...before that number bocome a split number thanks I'm sorry but i can't understand what you are after.How can you turn ISD-34535435435355 into 32133-34434-43243-4333-32433? They're not even the same length.You could turn 32...

Sample program using powerbuilder .net and asp.net
Hai, I am beginner in pb.net . So please can you provide me a sample program using powerbuilder web application with asp.net. with thanks and regards POLACHAN PAILY ---== Posted via the PFCGuide Web Newsreader ==--- http://www.pfcguide.com/_newsgroups/group_list.asp Part of the point of WebForms (and WinForms) is that you can deploy any application to these targets without recoding. So, for a sample app, take any sample that comes with PB. <g> No special coding required. Of course, you have to make sure your app isn't dependent on unsupported features. Good...

Web resources about - ProfileString Function Replacement for WebFoms - sybase.powerbuilder.net

Resources last updated: 1/11/2016 12:29:55 PM