
Keeping track of database file location
In article
Quote:
> I am deploying a VB 6.0 database application to a mass audience that
> uses
> Access or SQL Server for the backend. What is the easiest and most
> efficient way for the application to keep track of the database
> location? I
> don't want the users to have to create a DSN in windows control panel.
> I do
> want users to have the ability to put the database files anywhere they
> want.
> Is the registry a good way to store this information after prompting
the
> user for the db location? If so, how do I do it?
Jim,
In another ng an almost identical question was posted, but refered to a
help file rather than a database file. I replied to this via Email
after he requested it and gave him a fairly lengthy reply of how to set
up an options dialog to save and retrieve a path for his (help) file
from the registry, no matter in which directory the help file was
stored. If you want a copy of this Email send me an Email. I don't mind
posting it to this ng, but its several pages long, and others might get
the wrong idea about me.
Cheers,
Dave
--
dcward
Sent via Deja.com http://www.deja.com/
Before you buy.