SQLCA works when application runs in PB not when application is run with Powerbuilder WDK.
My applications with out SQLCA run great through Powerbuilder WDK, my
applications that contain SQLCA information doesn't. When I run the
application in PB I get a splash screen and then the application starts.
When I run it through PB WDK the splash screen starts and the I get a login
box. No matter what I do it always show's up and when I hit OK I get the
following SQLSTATE = 08001 error. How can I stop this from occurring? The
SQLCA code and ini file are below.
startupfile = "pds.ini"
/* Populate sqlca from current PB.INI settings */
sqlca.DBMS...Run PB application from any another application
is it possible to execute and pass a value to a Powerbuilder
application from any other application ?
any input is greatly appreciated.
If the other application has the ability to start applications. To pass a
value, you can add command line arguments to your run script, look at
commandparm() function in PB for getting those values. You can also use the
windows SendMessage API call to trigger events on windows/application.
<Julie> wrote in message news:firstname.lastname@example.org...
> is it possible to execute and pass a value to a Powerbuilder
> applicatio...can we run another application from a PB application
Can anybody tell me if its possible to run a second PB application from
an already running PB application?
If yes, then is there any way to terminate the first application and
continue with the second?
Corsair Communications, Inc.
Menka Gupta wrote in message <3846D57A.FE3778BB@corsair.com>...
>Can anybody tell me if its possible to run a second PB application from
>an already running PB application?
>If yes, then is there any way to terminate the first application and
>con...Powerbuilder application "crashing" another powerbuilder application
This is a repost of the above subject since there has been some problem for
messages posted on the 19th - 22nd July 2002.
I have an application (App A)built using PB7.0.3 build 10077 and it
seems to work fine. However, recently, another application (App B)
built using PB 7.0.3 build 10047 as well was installed and it seems to
trigger Dr Watson on App A.
There is an embedded OCX on a "main" window on App A, which receives
triggers from external applications. The OCX will then call another
function sitting on another main window. That function w...How can I run another application from PB ?
How can I run another application from PB script and continue its
execution after finish this application (NOT immediately after start) ?
Thanks, Radko Najman
Look at the CreateProcess() Win32 API -- it allows for this type of
functionality. There are a number of posts titled "Run Command" in this forums
that mention that.
On Tue, 13 Oct 1998 15:46:44 +0200,
Radko Najman <email@example.com> wrote:
>How can I run another application from PB script and continue its
>execution after finish this ...how to run my created powerbuilder application on another machine
Hi, I just created my application, it uses a local obdc
connection, which i can also create the same profile on the
other machine, i just dont know how i can run that same
application on the other machine, since it requires that on
the shortcut to the application it start in
Is there any way i can get around this, just to demonstrate
the application on the other machine.
Open the help files and search for deployment. There is an installation
guide in the online books that goes thru all the things you need to deploy
including the PowerBuilder runtim...running another application from a PB 5 app
I have a PB 5 application that uses the run() function to run another PB 5
application. The first application contains a loop that has the run()
function. My question is: After the second application runs and finishes,
is the control passed back to the first application?
thanks for any help.
No separate Address Space, so the other PB application is on it's own!
The PB App. doing the Run ( ) is not waiting for the other to complete, only
to start (so you can check the RC)
regards ... Chris
<Chloe> wrote in message
news:79E822D2B59882C50051324C852...IIS with external IP and have an ASP.NET app running. How do I connect another server (has IIS installed) running another asp.net application, but it has internal IP only?
Hi,I have a web server, with IIS, and external IP, with a ASP.NET application running on it. Users hit the site with the external IP.Now, we have another asp.net application, but we do not want to put it in server 1 (b/c of the load), and we do not want to give another external IP to the 2nd server... how can I make a user, hit server#1, and then in there, setup a virtual directory, and have the virtual directory pointing to the starting folder on the 2nd server??I tried setting up a VD with a "shared folder on another server ", and then putting in the path like this, \\2ndServer\inetpub\www...Use of PB DLL in another PB Application
If I have a single DLL compiled in PB9 containing a
function, can I declare/call/use that DLL in my other PB
Application? If yes, then how can I do it? Pls help..
Just add the DLL to your library path at run time to be resolved.
Try the SetLibraryList () method.
When your application needs to load an object, PowerBuilder searches for the
object first in the executable file and then in the dynamic libraries
specified for the application. You can specify a different list of library
files from those specified in the executable with SetLibraryList...Opening a window from a running application on another application
Hi! An answer would be appreciated...
* Is there another way to open the windows that belongs to different application (executables/DLLs) other than executing a DDE call from a calling executable (by having the launch pad executable serve as the "client" and the executable of the different applications being the "server" to establish the DDE communication so that windows that is contained within the executable's DLLs would be opened) ?
* Someone suggested of having an OLE... How does it work if lets say I'm gonna opening a window from a running application on a...How Can I handle a PB Application from another Windows Application
I have a big problem, I don't know how handle an Application created by PB
from another application.
I. E.How can I launch the an event or a global function or get some
You can trigger user events mapped to pbm_custom01-pbm_custom75 by using the
SendMessage Win32 API using message IDs between 1024 and 1098, respectively.
You will need to use the FindWindow API to get the handle of the main window
of the application you want to "talk" to.
Roy Kiesler [TeamSybase]
Sybase Develop...PB Application to PB Application communication
I need to have 2 powerbuilder application be able to communicate with one
another. A string is all I need to pass between the two applications.
I tried creating a com object that I could connect to from both
applications. This com object would basically store the information I want
to pass between the two applications in an instance variable. One
application would populate that instance variable, then notify the other
application(through the send command) to go read the information in the com
I created the com object fine and can call a function on the com object
...What PB DLL need in PB 9.0 application running in refresh PC
Beside executable and pbd files, which PB DLL need in PB 9.0 application
running in refresh PC
That's covered in the Help
See Chapt 39 Deploying Applications and Components
subsection: Powerbuilder Runtime files
"JJ" <firstname.lastname@example.org> wrote in message news:40061830@forums-1-dub...
> Beside executable and pbd files, which PB DLL need in PB 9.0 application
> running in refresh PC
Sorry about the me...Is another application running
We are in the process af developing a PB app that uses MS Visio as a sort
of drawing tool.
We start visio from pb, do some drawing and then save the result in a
Our problem is this, if we use visio and then return to PB, then try to
start Visio again we get an error.
Is there a way (API) that I can call to find out if an application(Visio)
is already running. Then we can just tell the user that the app is already