Solved

Putting VB6 program under version control in CVS

Posted on 2010-09-22
11
635 Views
Last Modified: 2013-11-25
I am going to put a VB6 program under version control.  I am familiar with WinCVS and will be using that utility.  Please provide guidance, tips, and ideas. Are each, frm and frx file entered into CVS as a module?  Or can and entire project be entered into CVS and handled at that level?  I will divide up the award points based on what is useful to me in my decision about the approach I take.
0
Comment
Question by:glentek
  • 5
  • 4
  • 2
11 Comments
 
LVL 3

Expert Comment

by:DEVLitehouse
ID: 33737194
You should put your entire project directory into source control and then check out each file as you need it.
0
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 33738051
In my experience you can enter the entire project with each object being selected.  You can de-select the forms, modules and classes as you desire.
The .frx would normally be selected automatically as part of the form.

This way the Project is checked in and out as a seperate object - and you can work on individual pieces as you need.


0
 

Author Comment

by:glentek
ID: 33738224
Brook1966.  When you say enter the entire project, please explain the exact step by step details please.  Remember that I am using WinCVS.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 14

Expert Comment

by:Brook Braswell
ID: 33738745
0
 

Author Comment

by:glentek
ID: 33739872
Brook1966.  I know how to use WinCVS.  When you say enter the entire project, please explain what you mean.  Thanks.
0
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 33743206
What I mean is that you select all the files associated with the project.  Perhaps there is some assumption on my part in that when I work on a project, I typically place all files in the project in a single folder for better access.  I am not a big user of WinCVS meaning that I normally use SourceSafe.  The second assumption is that WinCVS works in a similar manner.

Thanks,
0
 

Author Comment

by:glentek
ID: 33743603
Maybe I can clarify.  I know how to get files into CVS.  I would like to know what files to put under version control.  Can you provide a list of file extensions of the project files that should be put under version control?  Thanks
0
 
LVL 3

Expert Comment

by:DEVLitehouse
ID: 33745121
List of file extensions? This would be an accurate list. *.*. Seriously, put them ALL there. If your HD gets corrupted, or someone else wants to work on the project, you're going to want every single file available for checkout. Images may not be code, but they're still required.
0
 

Author Comment

by:glentek
ID: 33745304
DEVLitehouse.  I know for example that .vbw files do not need to be under version control.  No points for you.
0
 
LVL 14

Accepted Solution

by:
Brook Braswell earned 500 total points
ID: 33753476
for vb6 the following extensions should be in your version control

*.frm
*.bas
 *.vbp
*.cls
*.dsr
*.frx
*.vbw
*.dsx

0
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 33753489
You may also want to consider any of the following if your application depends on it and you modify it..

*.txt
*.log
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

776 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