1. Roland Smith
  2. PowerBuilder
  3. Tuesday, 28 August 2018 20:17 PM UTC

I have a need to update registry settings prior to launch of InfoMaker. I am wondering if there is some way built into the product to have it automatically run some PB code or external script at launch.

I have two ideas:

Point the shortcut to a script that does the registry updates and then launches IM.

Create a program in PB that does the registry updates. Rename the IM exe to something else and have the PB app be the name of the IM exe. The PB app would then launch the renamed IM executable.

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 28 August 2018 21:03 PM UTC
  2. PowerBuilder
  3. # 1

Hi Roland;

  I've done this successfully before by starting IM via a DOS batch command file. In the command file, you can call other apps to run first which can (for example) update the registry & return a RC to the command file. If the RC is successful, the command file can then launch the IMnnn.exe IDE or an App EXE built by IM.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.