Solved

Putting VB6 program under version control in CVS

Posted on 2010-09-22
11
631 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
Comment Utility
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
Comment Utility
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
Comment Utility
Brook1966.  When you say enter the entire project, please explain the exact step by step details please.  Remember that I am using WinCVS.
0
 
LVL 14

Expert Comment

by:Brook Braswell
Comment Utility
0
 

Author Comment

by:glentek
Comment Utility
Brook1966.  I know how to use WinCVS.  When you say enter the entire project, please explain what you mean.  Thanks.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 14

Expert Comment

by:Brook Braswell
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

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…
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…
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…
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…

762 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