Solved

Set Program Version Number in VB6

Posted on 2007-12-03
2
1,113 Views
Last Modified: 2008-02-01
How do I version my program in vb6.

I have several locations that use this program and i can't keep track of who got what versions.

I would like to be able to right click on the executable or something and see what version of the program was last installed.
0
Comment
Question by:Fraser_Admin
2 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 500 total points
ID: 20395973
Go into Project menu, properties, select the "Make" tab.  You can enter Major, Minor and Revision version numbers here.

You can compile and right click and get version that way, or add it to a label on an about form (or main form caption) using code like:

lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 20395992
In VB6, mouse to project file, then right-click:Properties, Make tab, set your version number there. Consider checking the 'Auto Incriment' check box to have this number automatically update with each .exe

Then make your exe.

Then in Windows Explorer, find your recently-made exe file, and right-click:Properties, and you'll see the version number from the first line of this comment.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 68
Access query that references subform 5 48
IF ELSE Statement in Excel Macro VBA 16 87
Remove Exif Orientation before adding image to db 9 46
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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

730 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