IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardParadox Setup, Vista, etc. Topic   Print This     

Paradox start up

Paradox start up in Paradox Setup, Vista, etc. topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Paradox   Paradox start   Paradox start up  
Techpart87
K & A Technology
Biggleswade, -- UK

I have 2 PCs both with Paradox 9 loaded.  On starting the main PC Paradox loads and displays whatever working directory I was using the last time Paradox was started.  The 2nd PC which accesses the same datbase files over a wireless network looses the working directory every time one exits paradox and closes the PC down.  Strangely if I close paradox and then restart paradox without turning off the PC then it loads correctly and displays the last working directory.  The database files on the main PC are mapped as a drive and accessed accordingly over the network.  I have checked all the settings but so far have drawn a blank.  Any suggestions?  I hope this is posted in an appropriate place, I was not sure where to put such a query.

 Posted 11 years ago (Thread Starter)
Comment Quote
About Techpart87 -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread but email is NOT VERIFIED.

Post ID #14284, 10 replies
Thread Started 9/16/2010 2:37:46 PM
View Counter=4623
Last Reply Posted 10/5/2010 3:59:26 AM)
Location=Biggleswade, -- UK 
Joined=16 years ago   MB Posts=15  
Daniel Fought
Prestwood IT
Home office in Fresno, CA.

First of all what are your operating systems on the PC's? 

Did you check the preferences setting for save on exit? 

Generally I dont like to depend on Paradox to open to the last working directory.  It is very easy to loose your working directory.  Since I have numerous applications on my system I tend to use the command line switches to set the working and private directory for each application as well as any startup scripts or forms.  Look in the Paradox help under command for more  info. 

Dan Fought
Senior Programmer Analyst
Prestwood IT Solutions
http://www.prestwood.com

 Posted 11 years ago
Comment Quote
About Daniel Fought -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Daniel Fought
Danial Fought is a senior programmer analyst with Prestwood IT where he develops custom Windows software and custom websites. When Dan is not coding for clients, he participates in this online community. Coding specialties include Paradox/ObjectPAL, MS Access, Visual Basic, and VS.Net/VB.Net.

Post ID #14285 (Level 1.1)  Reply to 14284
Thread Started 9/16/2010 3:00:20 PM
Location=Home office in Fresno, CA. 
Joined=19 years ago   MB Posts=401   KB Posts=12   KB Comments=4  
Techpart87
K & A Technology
Biggleswade, -- UK

Hi Dan, Thanks for your help.  Sorry not to omit OS, XP with SP 3.  I have checked the preference settings for save on exit.  I will look at the command line option to see if that will do the trick. 

 Posted 11 years ago (Thread Starter)
Comment Quote
About Techpart87 -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread but email is NOT VERIFIED.

Post ID #14287 (Level 2.1)  Reply to 14285 and Parent is 14284
Thread Started 9/17/2010 2:01:47 AM
Location=Biggleswade, -- UK 
Joined=16 years ago   MB Posts=15  
Daniel Fought
Prestwood IT
Home office in Fresno, CA.

Another alternative is to create a startup script or form that sets the application working  and private directory.

Dan Fought
Senior Programmer Analyst
Prestwood IT Solutions
http://www.prestwood.com

 Posted 11 years ago
Comment Quote
About Daniel Fought -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Daniel Fought
Danial Fought is a senior programmer analyst with Prestwood IT where he develops custom Windows software and custom websites. When Dan is not coding for clients, he participates in this online community. Coding specialties include Paradox/ObjectPAL, MS Access, Visual Basic, and VS.Net/VB.Net.

Post ID #14288 (Level 3.1)  Reply to 14287 and Parent is 14284
Thread Started 9/17/2010 6:02:45 AM
Location=Home office in Fresno, CA. 
Joined=19 years ago   MB Posts=401   KB Posts=12   KB Comments=4  
Techpart87
K & A Technology
Biggleswade, -- UK

Struggling!  This is silly!  I should be able to do this!

I am using a target of :-

"C:\Program Files\Corel\WordPerfect Office 2000\programs\pdxwin32.exe" -b -w C:\Documents and Settings\Andrew\My Documents\K&ATechnol\Cl5_costs wkshp_data_ent.fsl

and a Start in :-

"C:\Program Files\Corel\WordPerfect Office 2000\programs"

and I still get invalid directory and can't find the form error messages.  If I take off all the options Paradox starts without any problems.  I am trialing this on my office PC which always behaves itself ( well almost!). The quotes are exactly as they appear in the Paradox properties box.  I am sure I have used these options in the past without any problems.  What am I doing wrong?  This PC always restores the enviroment that I was working in when I last shutdown.  Putting the command line options in, i.e. everything after the -b switch seems to foul up the system.

 Posted 11 years ago (Thread Starter)
Comment Quote
About Techpart87 -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread but email is NOT VERIFIED.

Post ID #14298 (Level 4.1)  Reply to 14288 and Parent is 14284
Thread Started 9/20/2010 2:50:49 PM
Location=Biggleswade, -- UK 
Joined=16 years ago   MB Posts=15  
...
Daniel Fought
Prestwood IT
Home office in Fresno, CA.

You need to put quotes around the paths.  The short cuts do not seem to handle the spaces very well so the path trunckates after the Documents.

"C:\Program Files\Corel\WordPerfect Office 2000\programs\pdxwin32.exe" -b -w "C:\Documents and Settings\Andrew\My Documents\K&ATechnol\Cl5_costs" wkshp_data_ent.fsl

Dan Fought
Senior Programmer Analyst
Prestwood IT Solutions
http://www.prestwood.com

 Posted 11 years ago
Comment Quote
About Daniel Fought -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Daniel Fought
Danial Fought is a senior programmer analyst with Prestwood IT where he develops custom Windows software and custom websites. When Dan is not coding for clients, he participates in this online community. Coding specialties include Paradox/ObjectPAL, MS Access, Visual Basic, and VS.Net/VB.Net.

Post ID #14299 (Level 5.1)  Reply to 14298 and Parent is 14284
Thread Started 9/20/2010 8:37:03 PM
Location=Home office in Fresno, CA. 
Joined=19 years ago   MB Posts=401   KB Posts=12   KB Comments=4  
...
Wes Peterson
Prestwood IT
Prestwood IT office in Citrus Heights, CA

Good catch, Dan.

Just my two cents, but after decades in this business, I've formed a habit that saves me a lot of grief.  I do not put spaces in the names of anything:

  • Not in folder names,
  • Not in database table names, and
  • Not in database column names.

I know, spaces are "legal" in these places, in many contexts. But spaces  get you in trouble in some places or, at the very least, force you to quote the names of things in various contexts.

This is why God created two things:

1: CamelCaseSpellingOfEntityNames, and

2: The_somewhat_uglier_but_still_effective_underscore_character

Wes Peterson
Senior Software Engineer
Prestwood IT Solutions
http://www.prestwood.com

 Posted 11 years ago
Comment Quote
About Wes Peterson -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Wes Peterson

Wes Peterson is a Senior Programmer Analyst with Prestwood IT Solutions where he develops custom Windows software and custom websites using .Net and Delphi. When Wes is not coding for clients, he participates in this online community. Prior to his 10-year love-affair with Delphi, he worked with several other tools and databases. Currently he specializes in VS.Net using C# and VB.Net. To Wes, the .NET revolution is as exciting as the birth of Delphi.


Post ID #14300 (Level 6.1)  Reply to 14299 and Parent is 14284
Thread Started 9/21/2010 9:07:53 AM
Location=Prestwood IT office in Citrus Heights, CA 
Joined=17 years ago   MB Posts=158   KB Posts=163   KB Comments=34   BLOG, Topics=20  
...
Daniel Fought
Prestwood IT
Home office in Fresno, CA.

I agree.  I have also done that in my programming.  You will note that the spaces are in the microsoft created Documents and Settings and the My Documents folders. 

Dan Fought
Senior Programmer Analyst
Prestwood IT Solutions
http://www.prestwood.com

 Posted 11 years ago
Comment Quote
About Daniel Fought -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Daniel Fought
Danial Fought is a senior programmer analyst with Prestwood IT where he develops custom Windows software and custom websites. When Dan is not coding for clients, he participates in this online community. Coding specialties include Paradox/ObjectPAL, MS Access, Visual Basic, and VS.Net/VB.Net.

Post ID #14305 (Level 7.1)  Reply to 14300 and Parent is 14284
Thread Started 9/22/2010 4:13:34 PM
Location=Home office in Fresno, CA. 
Joined=19 years ago   MB Posts=401   KB Posts=12   KB Comments=4  
...
Techpart87
K & A Technology
Biggleswade, -- UK

Good advice from Wes.  I do try and avoid spaces.  Putting quotes around the path got the working directory to load but I still haven't managed to get the form to start up.  I shall persevere!  Thanks for your interest and the 2 cents worth of sage advice.

 Posted 11 years ago (Thread Starter)
Comment Quote
About Techpart87 -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread but email is NOT VERIFIED.

Post ID #14307 (Level 8.1)  Reply to 14305 and Parent is 14284
Thread Started 9/23/2010 12:53:23 AM
Location=Biggleswade, -- UK 
Joined=16 years ago   MB Posts=15  
...
Daniel Fought
Prestwood IT
Home office in Fresno, CA.

Assuming that the startup form is in the working directory this should work.  Any error messages?  Did you include a space between the working path and the startup form name?

Dan Fought
Senior Programmer Analyst
Prestwood IT Solutions
http://www.prestwood.com

 Posted 11 years ago
Comment Quote
About Daniel Fought -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Daniel Fought
Danial Fought is a senior programmer analyst with Prestwood IT where he develops custom Windows software and custom websites. When Dan is not coding for clients, he participates in this online community. Coding specialties include Paradox/ObjectPAL, MS Access, Visual Basic, and VS.Net/VB.Net.

Post ID #14308 (Level 9.1)  Reply to 14307 and Parent is 14284
Thread Started 9/23/2010 11:21:08 AM
Location=Home office in Fresno, CA. 
Joined=19 years ago   MB Posts=401   KB Posts=12   KB Comments=4  
... Most Recent Post
B-Squared
Olathe, KS USA

I believe at some point Corel added a Startup program so that when when you boot your system it clears some old previous default registry keys for Paradox like working directory and Developer preferences.  It is called"Paradox (R) Registry Key Cleaner" but seems to have this hair pulling unintended consequence.

Run msconfig , find the file or something close to that name under the startup tab, uncheck it, restart and I believe your problems will be gone.  I have encountered no problems once that annoyance was resolved.

Here is a link to Corel's official fix: http://corel.custhelp.com/app/answers/detail/a_id/758287

I hope this will help and save writing some code which I was also on the verge of doing.


 Posted 11 years ago
Comment Quote
About B-Squared -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #14324 (Level 9.2)  Reply to 14307 and Parent is 14284
Reply Posted 10/5/2010 3:48:17 AM
Location=Olathe, KS USA 
Joined=17 years ago   MB Posts=14  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P162A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #14284 Counter
4623
Since 9/16/2010
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]