/build/static/layout/Breadcrumb_cap_w.png

Paradox shortcut and working dir

G'Day All,

I've got a quirky app that uses paradox tables and I'm having trouble launching the working directory from a shortcut.
My shortcut looks like this:
Target: "C:\Program Files\Corel\Paradox 10 Runtime\Programs\pdxrwn32.exe" -w "C:\Program Files\%appfolder%\psi\menu.fdl" -q
Start in: "C:\Program Files\Corel\Paradox 10 Runtime\Programs"
The error is: Working directory is invalid or undefined.

Do I need to point the BDE property NET DIR to an ini or config file?
Any advice on launching a paradox working dir from the command line would be appreciated.

TIA
Wayne

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 16 years ago
Red Belt
1
Unfortunately my vendor installation instructions aren't very clearShock!

Use the file BDEADMIN.EXE in the Borland common files folder (by default, 'C:\Program Files\Common Files\Borland\BDE'). Somewhere in there (I can't recall the exact detail) you need to configure the 'Native' Paradox driver's 'NET FILE' parameter. Set the folder to somewhere where users will have write access (IIRC, we used [ALLUSERSPROFILE]\Application Data\Borland\BDE - which we created in our MST) then save the configuration file. If you are (or the vendor is) using the BDE merge module, you'll need to copy or merge the resulting CFG file in the MST, too. The application will create the PDOXUSRS.NET file in that location if none exists.

You may also need to permission the default BDE folder, so that users can reconfigure such things for other Paradox apps (God help them...), although I believe the location for the CFG can be configured by a registry setting: I ran out of time to research that further before deployment time.
Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
Wayne, IIRC there is a file in the root directory called pdoxuser.net which requires full access by the user. Wise won't capture it but you can work it into your installation perhaps if you get a clean machine and do the vendor install, then copy the .net file off somewhere for later use.

You have my sympathy packaging a paradox app. I did a few of those!
Posted by: WayneB 16 years ago
Blue Belt
0
Thanks Owen,

I've got a vm set with the vendor install but I'm unable to find the pdoxuser.net file. Does this get created when the app first fires up, or is it created when you install paradox10?
I believe I have to point the Net Dir property in the BDE to this pdoxuser.net file.

Thanks for your time; appreciate it,

Regards
Wayne
Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
Wayne, it's been a while since I worked with this stuff. It might be created after the app starts up since this is kind of a cache or data file for paradox. No idea what it stores there but it won't run without it. I think you should be OK to leave your shortcut working directectories the way they are. Again IIRC, but even moving the pdoxuser.net file to another directory (where the EXE is) won't work. It's just a feature of paradox that the file has to be there in the root.

Good luck. If you run into further snags let us know. I'll search my feeble old memory if I can help [;)]
Posted by: WayneB 16 years ago
Blue Belt
0
Cheers Owen,
Unfortunately my vendor installation instructions aren't very clear, so when I get that working; I'm sure to find the pdoxuser.net file.
I love these server\ client type apps; they can be real...er..chewy[8D].
Regards
Wayne
Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
VB, I may save your post in case I ever have to package a paradox app again (heaven forbid)
Good Ideas that I don't remember trying the last time.
Posted by: WayneB 16 years ago
Blue Belt
0
Ian,
Thanks for the valuable information.
The cfg file is called idapi32.cfg for others reading this. Which is in the folder:
Program Files\Common Files\Borland Shared\BDE.
I'll repackage the app later today after I get in touch with the vendor about his sus tables which are thowing up a
"You do not have authority to access this software" error which I'm attributing it to the Hasp license.
Btw it looks as if I'll have to package the Paradox 10 install as well, yee ha!

Regards
Wayne
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ