I have this problem of moving my codes around in my external drive. Everytime I plug the external drive to a new PC, a different drive is assigned and I would have path not found error in my program. I only knew about set_path=app.path which is actually referring to the path where VB6 is installed and not directory of the VB project file that I saved in. Is there any any to set the path to the local path of .vbp or .frm?
kwng
0
Unverified User
Recommended Answers
Jump to PostApp.Path is return path of your program.
It will return path where the project is saved.
Just take a test. Create a new project and display a path of project (Msgbox App.Path) in form load event and save it. It will return path of project. Move the project to another …
All 3 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
rishif2
57
Posting Whiz in Training
fsshah
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.