While setting up workstations with Paradox Runtime to access the database on the server, I wanted to have the users not to have to set the working directory or open the initial form. I found Lance's TechTricks on Paradox Command Line Switches to be great help, but I had a hard time figuring out where to put the switches - Windows kept objecting.
I knew it could be done, and I have had InstallShield do it for me while installing Runtime 7 applications. But I had never done it interactively.
I finally figured it out. First create the shortcut (which is on the user's desktop). Rename the shortcut with the name of your application. Then right click to get properties. Under Target, add the switches after the quotes at the end of the path. Then set Run to Maximized.
In my case it was:
"C:\Program Files\Corel\Paradox 10 Runtime\Programs\pdxrwn32.exe" -b -w J:\DivData main.fdl
Where J:\DivData was the directory for all forms & data (the working directory) and Main.fdl is the form I want opened at startup.
All of this may be obvious to you experts, but it caused me some struggle.
Lance - it would be great if you added something on to the section in your TechTricks on setting the command line options in a shortcut. It might save someone else some time.
Lynn
I knew it could be done, and I have had InstallShield do it for me while installing Runtime 7 applications. But I had never done it interactively.
I finally figured it out. First create the shortcut (which is on the user's desktop). Rename the shortcut with the name of your application. Then right click to get properties. Under Target, add the switches after the quotes at the end of the path. Then set Run to Maximized.
In my case it was:
"C:\Program Files\Corel\Paradox 10 Runtime\Programs\pdxrwn32.exe" -b -w J:\DivData main.fdl
Where J:\DivData was the directory for all forms & data (the working directory) and Main.fdl is the form I want opened at startup.
All of this may be obvious to you experts, but it caused me some struggle.
Lance - it would be great if you added something on to the section in your TechTricks on setting the command line options in a shortcut. It might save someone else some time.
Lynn