
Strange Error on Compiled program
I recently changed the filename of the database in my program from
Interdb.mdb to something else. I automatically open this database
during the application startup, which is followed by a simple login
screen. If the user clicks Cancel on the login screen I call db.Close
followed by End (there's currently nothing in the Unload event to worry
about). Running from the VB IDE there is no problem, however running
from a freshly compiled EXE gives me the following error when I click
Cancel on the logon screen:
Couldn't find file '<path>\Interdb.mdb'
I have done a search through my VB Project for any references to
Interdb.mdb but there are none - I replaced them all with the new
database filename earlier. Does anyone know why my program is still
looking for the old file when there doesn't seem to be any reference to
it in the source code? Also, why doesn't this happen when I run the
program from within the VB IDE?
Any help would be appreciated. TIA.
--== Sent via Deja.com http://www.*-*-*.com/
---Share what you know. Learn what you don't.---