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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make my Paradox using aplication run in network 1

Status
Not open for further replies.

daemonarch

Programmer
Jul 7, 2002
1
BG
I wrote encyclopedia about music. I'm using Paradox database and I wonder how to make my aplication run in network. If anyone can help me please e-mail me. It's urgent
 
daemonarch,

Since Paradox already contains full network support, all you need to do is configure things properly and copy the files to a global location:

1. Start by creating a directory on the network where all users will have full rights. This will hold the PDOXUSRS.NET file, which helps keep different users from clobbering each others changes while they're using your application.

2. For each workstation using your application, map the directory you just created to a logical drive letter. It may be tempting to to use UNC paths, but BDE tends to prefer mapped drives over UNC paths.

3. Now, each workstation using your application needs BDE configured to share files properly. To do this, start Control Panel and then open the BDE Administrator.

Next, select the Configuration tab and then choose Drivers | Native | Paradox. Now, change the NET DIR setting to point to the drive letter and directory you created in the previous two steps.

Also, choose Configuration | System | INIT (from the left-hand pane) and then set LOCAL SHARE to TRUE.

Apply your changes, confirm each prompt, and then exit all BDE applications.

4. Copy your application's files to a directory on the network other than the one you created in Step 1. This will be your application directory.

5. Start Paradox, use File | Change Working Directory to go to the application directory, and then start your application. It should work fine, though you may learn certain design choices take longer to run on a network than they do on a local PC. This is normal and can usually be resolved by using a different approach.

Hope this helps...

-- Lance
 
Also dependant on the BDE version you are using... if you browse to the proposed working directory using Windows and then copying the directory path by cutting and pasting.... you can place this info into the NET DIR within the BDE.

This has many a time proven useful as sometimes network mapping can be lost and therefore display network initialisation error. But using the full network path prevents this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top