Solved

Putting VB6 program under version control in CVS

Posted on 2010-09-22
11
637 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

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