I always get error .. path not right.. When using app.path in design time.. (say refering to access Db)
I always have to compile for it to work..
Is there a betterway??
That is all
Seahag
Printable View
I always get error .. path not right.. When using app.path in design time.. (say refering to access Db)
I always have to compile for it to work..
Is there a betterway??
That is all
Seahag
yes it does, but you need to save the project to the target directory.
Put the DB whereever your saved project files are. App.PAth means the whever your APP is the path starts there. If the DB is not in the directory then you will get an error.
I thought i always did..
I`ll check
:eek:
When you run from the IDE then it uses the VB.exe path I think. Since technically that is where it is running from.
App.path returns the correct path if you've saved it and you're running it formt the vb ide.
Ahhhh...so that's what does it.
It's all about the save.