Skip to content
1Jan

Pdoxusrsnet Windows 7

1 Jan 2000admin

I hope someone will be able to help me solve this problem regarding Paradox tables on a network. I've written an application that has a set of Paradox tables. Trey songz na na remix free mp3 download. The application can be installed on more than one PC on a network with one central location for the tables. The problem is that it doesn't lock the record being edited by one user.

I have set the Session's NetFileDir property to be the directory where the tables are located - so that all applications running on separate computers will access and use the same PDOXUSRS.NET file. Now what happens when the app is run on more than one machine - it creates an extra copy of PDOXUSRS.NET on the local hard drive's C: I have expressly set the session's netfiledir property at designtime and at run time it set's it to the same directory that the tables reside in (which are being shared).

Am I missing something here? Please help as this is hindering any further development. Thanks in advance! Hi people, have you controlled each bde configuration? If there overall the same netfiledir (called NET DIR in the BDE Administrator by configuration driver nativ e Paradox) entry? If no then edit it to the same entry, to a shared network drive if the shared networkdrive not available a.NET-File will created on the first HD-Root directory. If you will set the netfiledir at runtime, then must all DataawareControlls pointed to to the TDatabaseComponent(Databas eName = Name of TDatabaseComponent) You cannot run two Applications on a workstation that will use different.NET-Files meikl.

Download Windows 7 Disc Images (ISO Files) If you need to install or reinstall Windows 7 you can use this page to download a disc image (ISO file) to create your own installation media using either a USB flash drive or a DVD.

Hi Meikl Thanks for your comment regarding the BDE configuration on each machine. Is there a way to do this at runtime? I'd like to make the program as easy and user-friendly as possible to aliviate the need for users to sit and configure the BDE manually on each machine using my application. All my table-components have their session property set to the session component who's netfiledir property I set at run time to be the same directory as the one containing all the shared DB files. So I think all that is needed now is code to configure the BDE at runtime on any machine that runs my application.

Your comments? Thanks in advance. Hi Cybersoft, first, Sorry, instead TDatabase i meant TSession If you will set the netfiledir at runtime, then must all DataawareControlls pointed to the TSessionComponent(SessionN ame = SessionName of TSessionComponent) The Tsession should first set to active then the activate other dataawarecontrols or set tsession active in designmode. A general change of the default entry of NET DIR in the BDE is not recommended Should work, if all have read, write, access and deleterights on the shared netfiledirectory. If you will run multiple instances of your App on one workstation the privatedir entry of each instance should be different. Hope, this helps meikl. Hi Meikl I've tried changing the BDE on both machines and it seems that both can still edit the same record at the same time - IE not locking the table when one user puts it into edit mode.

Windows 7 update

I found this in the Delphi help file regarding the TSession component and the NetFileDir property: 'Delphi derives an initial value for NetFileDir from the BDE configuration file for the Paradox driver. Any value assigned to NetFileDir at design time or runtime overrides the BDE configuration setting.'

Although this is not true - because I write the value of the NetFileDir property to a text file during run-time and it is the value of that the BDE has been set to - not what my application set it to! And according to an article in the inprise.com developer support forum and techincal information database they state that the drive letters need not be the same on all the machines as long as they all inevitably point to the same directory containing the PDOXURS.NET file. Just to let you know - all the Table components have their Session property set to the value of the Session's SessionName property. The Session's Active property is set to true at run-time and the value of the NetFileDir property is changed at run-time.