How to change reference path in VB6
-
Hi, dear all, I have an existing VB6 project installed in my computer, I have its source codes. Now I will create another project based on it. The strange thing is that there is a reference which is always pointed to the previous project, all others are ok after modification, only this one doesn't work. I open the .vbp file, modify the path mannually, save it. but when I open the project, it still points to previous project path, I use browse button in reference dialog to relocate it, it still not change. What should I do? If I remove the prevois project, I am afraid of that the new project won't work since that file is missing. Thanks!
-
Hi, dear all, I have an existing VB6 project installed in my computer, I have its source codes. Now I will create another project based on it. The strange thing is that there is a reference which is always pointed to the previous project, all others are ok after modification, only this one doesn't work. I open the .vbp file, modify the path mannually, save it. but when I open the project, it still points to previous project path, I use browse button in reference dialog to relocate it, it still not change. What should I do? If I remove the prevois project, I am afraid of that the new project won't work since that file is missing. Thanks!
I used to move project between machines without any problem. Edit the vbp files to change the paths using notepad, make sure you also change any of the controls locations to the correct depth, i used to find occasionally had one too many ../../../ depending on which machine i was on.
Dave Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Waving? dave.m.auld[at]googlewave.com -
I used to move project between machines without any problem. Edit the vbp files to change the paths using notepad, make sure you also change any of the controls locations to the correct depth, i used to find occasionally had one too many ../../../ depending on which machine i was on.
Dave Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Waving? dave.m.auld[at]googlewave.comDave, Thanks! Yes, I open the .vbp in notepad, the strange thing is that in .vbp file the path is in current project, but when I open the project from VB6, and click "Reference", that reference's path is pointing to previous project again. If I save the project, and open .vbp file, the refernece path is changed back to previous project. There are more than 10 reference, all others are ok, only this one doesn't work. Did you encounter this issue before?
-
Dave, Thanks! Yes, I open the .vbp in notepad, the strange thing is that in .vbp file the path is in current project, but when I open the project from VB6, and click "Reference", that reference's path is pointing to previous project again. If I save the project, and open .vbp file, the refernece path is changed back to previous project. There are more than 10 reference, all others are ok, only this one doesn't work. Did you encounter this issue before?
-
I also wish this is the last project in VB6. Thanks!
-
Hi, dear all, I have an existing VB6 project installed in my computer, I have its source codes. Now I will create another project based on it. The strange thing is that there is a reference which is always pointed to the previous project, all others are ok after modification, only this one doesn't work. I open the .vbp file, modify the path mannually, save it. but when I open the project, it still points to previous project path, I use browse button in reference dialog to relocate it, it still not change. What should I do? If I remove the prevois project, I am afraid of that the new project won't work since that file is missing. Thanks!