Solved

Saving VB6 code on floppy

Posted on 1998-12-27
7
172 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now