Solved

Saving VB6 code on floppy

Posted on 1998-12-27
7
171 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
Comment Utility

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
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 12

Expert Comment

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

M

0
 

Author Comment

by:quintyn
Comment Utility
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
Comment Utility
Thanks for the points!

0
 

Author Comment

by:quintyn
Comment Utility
Thanks for the help!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now