Max Renshaw-Fox wrote:
>
>
> > The good thing about doing it in your code, is you guarantee that for your
> > App at least, the network control file is guaranteed to be in the correct
> > place. Usually I store this location in an Ini file, or Reg entry and load
> > it at startup time prior to logon.
>
> So --- it doesn't matter if another app (say Corel) is on the system and is
> using a *different* NetDir? and thus a *different* PDoxUsers.Net?
>
> As long as they are not trying to control the same "database" (ie directory)
> there is no problem.
>
> afaik PdoxUsers.net controls the .lck files which control the record locks -
> so you need at most 1 .net file per database directory.
>
> Max
>
Alright! So it IS a good idea to set the NetDir in your app itself and, as
Aaron suggested an .INI file would be a convenient place to specify this.
Thanks guys.
Mark
---------------------------------------------------------------------------
New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz