[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1147
  • Last Modified:

Set Program Version Number in VB6

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
Fraser_Admin
Asked:
Fraser_Admin
1 Solution
 
PaulHewsCommented:
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
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now