
Database Controls with Filenames read from .INI file?
Quote:
> I'd like to be able to have my database controls read the name of
> the database file from an INI file, instead of having it hardwired
> into the control during design. Is this easy to do? Any suggestions
> would be appreciated.
Use the Windows APIs GetPrivateProfileString and WritePrivateProfileString.
Very straightforward API calls. I hope this points you in the right
direction.
--
J. Kyle Rickett
__________________________________________________________________
Suppose you were an idiot. And suppose you were a
member of Congress. But I repeat myself.
-- Mark Twain
If you have Visual Basic questions, stop by my
-Ask the VB Guru- page at
http://rampages.onramp.net/~jkyler/guru.htm
__________________________________________________________________