Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Need Program A to call Program B

$
0
0

Good day.

I have a need for this type:

 

I have two programs Powerbuilder that must be able to call each other.

 

es:

The program A should be able to run the program B and open a specific window determined by the program A.

 

I have partially solved the problem this way:

Program A compiles some tables in the database and then makes a RUN of the program B followed by '/BATCH'.

Program B, knowing that he was call with '/BATCH', goes to read the tables in the DB and opens the window concerned.

 

Now comes the problem.

 

If program A makes another call to program B, the system should not re-open another instantaneous Program B, but must be able to understand that it is already running and open another window.

 

 

How can I make program A to understand that the program B is already in RUN and especially as I can tell it to open another window?

 

Ty for Help

 

Gimmy


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>