|
-
Feb 5th, 2002, 04:09 PM
#1
Thread Starter
Fanatic Member
App.path don`t work when debuging
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
-
Feb 5th, 2002, 04:11 PM
#2
yes it does, but you need to save the project to the target directory.
-
Feb 5th, 2002, 04:14 PM
#3
PowerPoster
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.
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Feb 5th, 2002, 04:25 PM
#4
Thread Starter
Fanatic Member
eeek
I thought i always did..
I`ll check
-
Feb 5th, 2002, 05:13 PM
#5
When you run from the IDE then it uses the VB.exe path I think. Since technically that is where it is running from.
-
Feb 5th, 2002, 05:17 PM
#6
Frenzied Member
App.path returns the correct path if you've saved it and you're running it formt the vb ide.
-
Feb 5th, 2002, 06:39 PM
#7
Ahhhh...so that's what does it.
It's all about the save.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|