|
string to array
|
| |
I have a string like ls_test = "1, 2, 3, 4", and I want convert it into a array, say ls_test[ ] = {'1', '2', '3', '4'}.
thanks.
|
|
Get return output value from another program.
|
| |
Hi, We're running a PowerBuilder 9 program that calls another program written in a different language, for which we don't have access to the code. The other program is being run using the run() function, with a parameter. It returns an integer; 1 means 'yes', 2 means 'no'. Any idea how I can read/store the output? The return value (1 or -1) from the run() function only tells me if the other program ran or not, but I need to use the output (1 or 2) to determine what happens next in the PowerBuilder program. It seems this should be something simple to implement in PB, but is not.... more »
|
|
Unknown build error, 'Method 'get_Command' in type 'System.Windows.Controls.Button'
|
| |
I'm trying to develop an application in powerbuilder .net 12.5. However I keep getting the following compilation error.
Unknown build error, 'Method 'get_Command' in type 'System.Windows.Controls.Butto n' from assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e3 5' does not have an implementation. Line 3 Position 4.'... more »
|
|
Do not post to these groups anymore
|
| |
Most of the groups shown in Google are no longer active on the Sybase server. In addition, the remaining Sybase newsgroups will be shut down shortly. If you post here most people who take the time to answer questions will never see it. Instead, post your question in the SAP Community Network (SCN) PowerBuilder Developer Center forums:... more »
|
|
Populating datawindow from SQL only displaying one record
|
| |
Greetings,
I have a strange problem. I need to connect to an additional database to retrieve data within one of my windows. I had this working with a slightly different set up (going to 64-bit has forced the change of some ODBC drivers and software and the old way just doesn't work any more.
Anyway, I have written a SQL statement and verified it in WinSQL and it pulls the records I need. However, when I drop this same SQL into powerbuilder and view the output, it only returns one record. I have two different queries this is happening on. I can provide the SQL and source if needed, I just wondered if anyone has any ideas?... more »
|
|
Replace null chars inside a string
|
| |
Hi, I have to read some text files made by thousands of lines.
These lines have fixed length (they are created using cobol).
In some of these files, there are null chars inside the string, so PB reads them as "end of string"; so, for example, I will have a string length 80 chars instead of 100.... more »
|
|
Print Spooler hangs on 64bit server
|
| |
Hi - if somebody knows how to resolve the print spooler hangs problem
other than restarting the spooler on 64 bit server while printing from
32 bit application using third part PDF converter........
Here is my situation
We have a 32 bit application which uses the AMYUNI PDF converter to
print the PDF. the application works fine on the 32 bit server. but on... more »
|
|
MailSession object - Open message window
|
| |
Is there a way in MailSession to open up a message window, populate
the addresses, without the message window being sent automatically?
If I call MailSend(.....) and the TO address is populated, it will
send the email automatically but it isn't populated it will open the
message window.
As noted above, I would like to have the addresses populated, then... more »
|
|
|