[AccessD] Read External File for Path String

Charlotte Foust cfoust at infostatsystems.com
Thu Jan 19 10:08:42 CST 2006


That works if you have permission to write to the registry, Gustav.
We're running into more and more situations where the user does  NOT
have permission to read and write the registry.  Apparently the "new"
approach is to use an xml file in documents and settings.

Charlotte Foust


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Thursday, January 19, 2006 2:10 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Read External File for Path String


Hi Dan

Or use the registry. This is what it is for.
Susan just wrote an article on this (hidden somewhere for the public, I
guess) but it's quite easy if you use:

SaveSetting(..) and GetSetting(..)

/gustav

>>> dwaters at usinternet.com 19-01-2006 01:37:53 >>>
Hello Everyone,

I just spent half the day struggling with the movement of a system from
one server to another.  The server path is hardcoded in one place in a
startup form.  What would have helped me a lot is to have the path in a
text file or ini file external to the database and stored in the same
folder.

Security is not an issue here, just my convenience, as my plans for the
day were pretty much blown up!

Using a file for information like this sounds like it might be a fairly
typical solution.  Does anyone do this or something like it?

Thanks!
Dan Waters


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list