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...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...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...how can I do to run an application from another one?.
Content-Type: text/plain; charset=us-ascii
I have a principal application and I want to run a exe application, but
i have this problems:
the exe appliaction does not find the dll because they are in another
directory, but each application can run by themselves.
thanks for your help.
Content-Type: text/html; charset=us-ascii
<P>I have a principal appli...Can a PB application be run off a server?
I have a dumb question even though I know the answer. I was
asked to post this anyway. Our client wants to avoid
installing Oracle client on every client machine. Instead,
they asked if a copy of the PB application can be put onto a
network drive and all clients have a shortcut pointing to
the exe on this server and use the ODBC connection the
server has? Is this possible?
The oracle client (Net8 or SQLNet) will still have to be loaded on each
workstation unless you are using Citrix, PCAnywhere, etc., that allows you
to work directly on the server.
<dtsakiris> ...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...Can i get the username from another pb application?
we have totally about 7 pb applications for a super user.
is it possible to get the userid & password from another apb
application if another pb application is running?
no need to popup the login window for 7 times?
i heard that it will be solved by using DDE..any sample code
better to understand..
If you have a "super user", why not create a "super menu"?
I mean, let the super user log on to an application in wich he chooses the
application he wants. As long as he is logged on to the super menu, you can
...How Can i get the data from another pb application?
Here i have one doubt which is mentioned below.
we have six pb applications.
my question is ,
Each time when logging in it should not ask the user name &
password.it has to take the user name & password from
another pb application,if there any applications are
running.(I know that will be solved using DDE.But i do no in
Sample Application or Sample Coding or sample link will be
useful to understand the concept.
Already i posted related to this...but i didnt get any
Thanks & Regards,
If you're using EAServer this should be a...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...Running PB while PowerGen is rebuilding another application
I have to make several FullRebuilds on many differents applications in a week.
Of course, while that process take place, it �freezes� PB so I can't use it to
work on another application.
I wonder if, on the same PC, PowerGen can be rebuilding one application while
I'am working with PB on another application? Note that the two applications are
using a complete set of different libraries. So nothing is shared.
I'am asking that question because I read on the news something about the fact
that only one application should use the ORCA functions on a PC at the same
t...Can I run PB applications in sys tray icon?
If so how can I do that?...
Jason 'Bug' Fenter
Best Dern Programmer Out There
"Cokie" <email@example.com> wrote in message
> If so how can I do that?...
...How can I prevent running PB-application more than one time?
We have application server with Windows NT 4 and workstations with Windows
We are using PB 7.0.2
I need to prevent running the same PB-application on the same workstation
more than one time simultaneously.
please post to powersoft.public.powerbuilder.general
this is dedicated to PB components within Jaguar
to get you started take a look at the Handle( ) function and in particular the
> We have application server with Windows NT 4 and workstations with Windows
> NT 4
> We are using PB 7.0.2
> I need to prevent running the s...Can an old PB application be run in Windows XP Pro?
The application is in PB 5.0.4, sorry I don't know the build. I know
this release is not supported anymore, and I'm hoping the client will
soon give a go-ahead to upgrade.
The client now wants to upgrade their OS to Windows XP Pro. From
the research I've done, it looks llike there were some problems with
XP Pro and PB 7 and 8, but not so much with PB 9.0.
Will a PB 5.0 application run correctly on Windows XP Pro? Should
they upgrade to 9.0 before they upgrade to OS? After? Should they
wait until PB 10 is available and upgrade to it?
Any comments or suggesti...Can not run PB application by the scheduled tasks on Win2000 server
I tried to run the an application (PB9.0.1) by the scheduled
tasks on a win 2000 server. It does not work. Any
When you set up the scheduled task, you have some issues to consider: what
user will the application be run by, what environment is available to that
user for scheduled tasks and what will the application's working directory
be when it runs.
Without knowing your application at all, can you see any problems that might
arise by it being run by a different user (eg unable to access certain files
on the file system, including your application's executable)...