If necessary, move the file to match the entry in the Windows Registry or change the entry in the Windows Registry to match the location of the file. Note: Another way to set the network file directory in bit Delphi -but doing so dynamically as the program runs rather than creating a persistent Windows Registry setting - is to assign the shared network directory you are going to use for the network control file to the Session's NetFileDir property. It is a good idea to close all tables before the program closes, and then open them soon after startup or as necessary.
Have all users exit all programs that access the tables in question. Search for and delete stray Pdoxusrs. Additional Information The directory in which the network control file pdoxusrs.
You can think of the network control file as a "traffic cop". If multiple users will be sharing the same copy of an.
For example, they can set PrivateDir to a directory on their own hard drive by assigning to the PrivateDir property of the TSession component. Aw, sarge! This error is caused by two users trying to access the same table when the NetDir parameter of the Paradox driver is not the same for both. See TI at www. Bill Sorry but TeamB cannot answer support questions received via email. To send me email for any other reason remove. Other Threads 1. LCK - Directory is controlled by other.
NET file. Board index » delphi » BDE initialization error - directory is controlled by other. NET file rick-h. BDE initialization error - directory is controlled by other. Already a member? Close this window and log in. Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail.
Promoting, selling, recruiting, coursework and thesis posting is forbidden. Students Click Here. Hi I have a Delphi 3 app that uses paradox data files. On some of these PC's the app can take up to 15min to start up trying to open the database tables while some of the other PC's start up reasonably quickly but still pretty slowly. I am not posting a solution, but instead am experiencing the same thing. Hopefully, this will revive the thread and someone will have an answer out there.
I wish I can help, but instead having a similar problem. However my problem is that I am excountering the problem on ME. And it is not just opening tables, but also accessing the tables once it is opened.
Two session component properties, NetFileDir and PrivateDir , are specific to applications that work with Paradox tables. This file governs sharing of Paradox tables on network drives. All applications that need to share Paradox tables must specify the same directory for the network control file typically a directory on a network file server.
If you set NetFileDir yourself, the value you supply overrides the BDE configuration setting, so be sure to validate the new value. You can also set or change NetFileDir in code at run time. The following code sets NetFileDir for the default session to the location of the directory from which your application runs:.
PrivateDir specifies the directory for storing temporary table processing files, such as those generated by the BDE to handle local SQL statements. If no value is specified for the PrivateDir property, the BDE automatically uses the current directory at the time it is initialized.
If your application runs directly from a network file server, you can improve application performance at run time by setting PrivateDir to a user's local hard drive before opening the database.
0コメント