What's the best way to backup a whole project? so that I can have an earlier version if I ran in unrecoverable errors. Thanks!
Printable View
What's the best way to backup a whole project? so that I can have an earlier version if I ran in unrecoverable errors. Thanks!
Duplicate the entire project folder and store it in somewhere else.
thanks. but I'm encountering a case like this:
when i open the project file in the new directory, it is accessing the forms in the old directory.
Is there any way that I can do a backup and then when I need to use that backup again, it will automatically work within its own directory?
You can resolve it by open your project file (*.vbp) with Notepad.exe and try to locate the following line:
and change it toCode:Type=Exe
Form=C:\My Project\Project 1\frmMain.frm
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINNT\SYSTEM32\STDOLE2.TLB#OLE Automation
Startup="frmMain"
Command32=""
Then you will bypass the message that you mention.Code:Type=Exe
Form=frmMain.frm
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINNT\SYSTEM32\STDOLE2.TLB#OLE Automation
Startup="frmMain"
Command32=""
Have a nice try. :)
Select the folder that contains the project files and CTRL+C, CTRL+V that *****.