Solved

Set Program Version Number in VB6

Posted on 2007-12-03
2
1,123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 66

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

695 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