
File Not found when file is there
Good advise. I use the App.path to determine where the program was launched.
pre = app.path
I don't know what method you are using, but let us say it is the DataControl
DataControl.DataBaseName = app.path & "\database.mdb"
I tested this it works perfectly.
Try specifying the startup directory in the startmenu short-cut.
If it works, you can specify the startup directory is Wise for when you
distribute the app.
Dm
>
>Hi ... I am having this wierd problem in that .... when someone
>installs my EXE on their machine, a file not found is appearing even
>though the file is there.
>
>I am using a data control which contains the database name only (no
>path)... and it seems to work fine when I install under Windows 3.1,
>but not in 95.
>
>I am using Wise installation system.. I am using Visual Basic 16 bit
>edition. Also, I am using Windows 95B and am running fat32 on my
>system.
>
>Has this happened to anyone? Any suggestions? This is really
>baffling me...
>
>Thanks,
>
>Kevin
--
Sincerely
Danger Mouse
Drop the X_ from my name.