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


0
Radko
10/13/1998 1:46:44 PM
sybase.powerscript 7704 articles. 0 followers. Follow

3 Replies
712 Views

Similar Articles

[PageSpeed] 7

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.

Roy

On Tue, 13 Oct 1998 15:46:44 +0200,
 in powersoft.public.powerbuilder.powerscript
Radko Najman <radko.najman@ksprogram.cz> wrote: 
>How can I run another application from PB script and continue its
>execution after finish this application (NOT immediately after start) ?
>
>Thanks, Radko Najman
>
>

Roy Kiesler
Software Engineer
Logica Inc.
mailto://kieslerr@logica.com
0
Roy
10/13/1998 4:33:33 PM
Like in the other message,
CreateProcess is the way to go.
I have a PB component that does this.

I'll mail it to you.

Geert 'Darling' Van Damme


Radko Najman wrote in message <362359C4.D401176A@ksprogram.cz>...
>How can I run another application from PB script and continue its
>execution after finish this application (NOT immediately after start) ?
>
>Thanks, Radko Najman
>
>


0
Geert
10/13/1998 6:34:26 PM
Geert Van Damme wrote:
> 
> Like in the other message,
> CreateProcess is the way to go.
> I have a PB component that does this.
> 
> I'll mail it to you.
> 
> Geert 'Darling' Van Damme
Hi Geert,

Any chance of mailing it to me too?
With ... anticipation, 
Regards,

Paul Doody
Technical Analyst
Bull Information System (UK)
Paul.Doody@Bull.Co.UK
0
Paul
10/14/1998 9:08:29 AM
Reply:

Similar Artilces:

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? Thanks, Menka Gupta Corsair Communications, Inc. Run("secondapp.exe") Halt Close S Rivankar 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:4048e90b.6e7e.846930886@sybase.com... > is it possible to execute and pass a value to a Powerbuilder > applicatio...

How Can I handle a PB Application from another Windows Application
Hy Guys, 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 properties value? Thanks. Stefano Giostra. 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. -- pbm_hopethishelps, Roy Kiesler [TeamSybase] Sybase Develop...

how can I do to run an application from another one?.
--------------3E3DA6FDDD04E61EF3981BF1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi everybody. 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. Maritza Argueta. --------------3E3DA6FDDD04E61EF3981BF1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> Hi everybody. <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? thanks. 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. cdc <dtsakiris> ...

SQLCA works when application runs in PB not when application is run with Powerbuilder WDK.
Hi, 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. code: startupfile = "pds.ini" /* Populate sqlca from current PB.INI settings */ sqlca.DBMS...

Can i get the username from another pb application?
Hi, 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? anyidea? i heard that it will be solved by using DDE..any sample code will be better to understand.. Thx, Ramaprasath.V 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?
Hi, 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 detail) 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 reply. Thanks & Regards, Ramaprasath.V 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. Chloe Chloe; 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
Hi, 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?... Try http://www.justpbinfo.com/pbtips/windows_system_tray.asp or... http://www.topwizprogramming.com/freecode.html -- Jason 'Bug' Fenter Best Dern Programmer Out There fenterbug_at_hotmail_dot_com "Cokie" <japodaca@bts.com.mx> wrote in message news:IZeE6z5UCHA.74@forums.sybase.com... > 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 NT 4 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 example code. A. Popov wrote: > 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 information? 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)...

Web resources about - How can I run another application from PB ? - sybase.powerscript

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Second visa application 'likely' to be approved
The family of a terminally ill Pakistani student can 'hopefully come to Australia sooner rather than later' says Immigration Minister Peter Dutton. ...

Tashfeen Malik's visa application under scrutiny - Business Insider Deutschland
The US government has released the visa application for Tashfeen Malik, who along with her husband killed 14 people in an attack in San Bernardino, ...

Panasonic Develops a Stretchable Resin Film and Its Application Materials for Stretchable Electronics ...
A stretchable film is developed. This film stretches to 2.5 times the original length and then returns to the original form. A conductive paste ...

MBA: Mortgage Applications Increase in Latest MBA Weekly Survey, Purchase Applications up 37% YoY
From the MBA: Refinance, Purchase Applications Both Up in Latest MBA Weekly Survey Mortgage applications increased 7.3 percent from one week ...

Cal State Schools Get Record Number Of Applications For 2016 Term
Schools in the California State University system received a record number of applications for the upcoming 2016 fall term, with more than 830,000 ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

Panasonic touch panel production to be solely for vehicle applications by 2020, says report
Panasonic is aiming to transfer its touch panel production completely to vehicle applications by 2020 in order to meet increasing demand for ...

What's Important in IT in 2016? It's the Applications, Stupid
NEWS ANALYSIS: What should organizations invest in next year? Applications, of course. In particular, customer-focused applications.

Resources last updated: 1/5/2016 9:28:41 AM