Solved

Set Program Version Number in VB6

Posted on 2007-12-03
2
1,108 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

856 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