Backing up forms, modules etc. 
Author Message
 Backing up forms, modules etc.

I have a project with multiple forms and modules.

Is there a way I can back them up to a floppy from within VB, with out
having to save each one individually to the floppy?

Is using the Explorer the easiest way?

Anyone have any experience with this?

Aloha,
Matt



Thu, 03 Aug 2000 03:00:00 GMT  
 Backing up forms, modules etc.

Save PROJECT icon saves all - everything like forms, modules, and the main
code - to the place they were *read* from..
Do you mean to a *different* place  (like the floppy if you were working
off the C:\)

You could write a .bat file in DOS to copy the files to floppy.

Hope this gives you some ideas.

Quote:

> I have a project with multiple forms and modules.

> Is there a way I can back them up to a floppy from within VB, with out
> having to save each one individually to the floppy?

> Is using the Explorer the easiest way?

> Anyone have any experience with this?

> Aloha,
> Matt



Thu, 03 Aug 2000 03:00:00 GMT  
 Backing up forms, modules etc.

Quote:

> I have a project with multiple forms and modules.

> Is there a way I can back them up to a floppy from within VB, with out
> having to save each one individually to the floppy?

The most important thing is to be sure you are saving as
many files as possible as text, not in binary format.

I use the following batch file to backup a current project.
it saves a .zip file to a subdirectory backup, but could easily
be modifed to save to a floppy, etc.

  backup file_name

backup.bat:

c:\util\pkzip backup\%1.zip *.bas *.fr* *.mak *.vbp *.bat *.ini
REM
c:\util\pkunzip -vbe backup\%1.zip > x.txt
more x.txt
dir backup\%1.zip

The last three lines just report what was done.

- Matt



Thu, 03 Aug 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. passing forms and controls so I can set focus back to a form from a module

2. passing forms and controls so I can set focus back to a form from a module

3. Making back ups

4. LastUpdated property for Module, Form, etc.

5. Protecting Forms, Modules, Etc.

6. How to convert old binary module and form files back to text sourc3e

7. Pass variable value back to form from module

8. Executing back / forward etc buttons in script or ASP code

9. Downloading web files (txt, xls, etc) via a module

10. Passing input box value from Form Module to report module

11. Classes/Code modules: Difference, when and why etc..

12. Lost ability to delete modules, etc. from project

 

 
Powered by phpBB® Forum Software