Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paradox Command Line Switches

Status
Not open for further replies.

LWB

Technical User
Feb 4, 2003
95
US
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
 
Once upon a time there was a free Paradox Shortcut builder. I'll see if I can find it...

Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
Yep, I still have a copy of it (a delphi app I think). If you want it email me.



Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
Lynn,

Thanks for the idea; I'll update the article (or post a new one :))

-- Lance

P.S. if anyone has ideas for articles they'd like to see, please let me know via the email link on my profile here or through the Feedback links on my site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top