Solved

Saving VB6 code on floppy

Posted on 1998-12-27
7
174 Views
Last Modified: 2010-05-03
I just upgraded from VB4 to VB6. It is a nice program but I am surprised by the absence of manual, I just got a huge confusing on line help.
It can sound stupid, but I could't find the way to make a security backup of my code to floppy disk: VB makes a lot of connected files: frm, frx , vbp,... not always in the same map and I think it make no sense to send them one by one to the floppy.
I found a Visual Component Manager on the toolbar but could't save all the related files of my project on floppy, only the vbp file.
Because I know that my hard disk will crash soon or later, can somebody give me the answer to that simple question "very soon"!
0
Comment
Question by:quintyn
  • 3
  • 3
7 Comments
 
LVL 4

Expert Comment

by:idcanada
ID: 1452597

If you do not have Visual Source Safe (Enterprise) then your only method is
to manualy copy the folder contain your project and paste / sent to floppy.


0
 
LVL 12

Expert Comment

by:mark2150
ID: 1452598
I use PKZIP. Once have created the source files VB will not create additional files unless you add a new form. To find out what it created when you set up your project go to DOS prompt and do a DIR /OD. This will give you files ordered by date. The stuff with todays date is what was freshly created. Generally you have:

{formname}.FR*       (A pair for each form in your project)
{projectname}.VB*   (One pair for the project)

Anyway, once you get a .ZIP built with all of the files you can then do:

PKZIP -F {zipname}

This will update all files that *need* updating.

If your app creates data files or you have help you'll have to include them in the .zip too.

M


0
 

Author Comment

by:quintyn
ID: 1452599
A you sure that there is no other possibilities?
What is then the purpose of the Visual Component Manager? It gives a nice list of all the related files, but does nothing with it.

0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 12

Expert Comment

by:mark2150
ID: 1452600
There's always other possibilities. But I find that PKZIP to be quick & easy for me.

M

0
 

Author Comment

by:quintyn
ID: 1452601
The answer of idcanada is not detailed at all. It brings nothing new to me.
I prefere the comments of mark2150.
So I shall reject the answer of idcanada to give the points to mark2150
Thanks to both!
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 50 total points
ID: 1452602
Thanks for the points!

0
 

Author Comment

by:quintyn
ID: 1452603
Thanks for the help!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question