|
-
Mar 31st, 2000, 01:28 AM
#1
Thread Starter
Junior Member
In NT4 (not sure about other OS's) when you right click on an EXE and look at it's properties, there is a version tab.
Is there any way in VB to get that info ? Specificly version number ?
Thanks.
-
Mar 31st, 2000, 01:33 AM
#2
Addicted Member
If you look up these APIs you find what you're looking for:
GetFileVersionInfo
GetFileVersionInfoSize
VerQueryValue
Be Warned, however, these are fairly complex API functions and require a lot of reading to use correctly, too much to put here.
You can find info in MSDN, or at www.vbapi.com
Good luck!
-
Mar 31st, 2000, 03:02 AM
#3
Lively Member
if you are talking about your own project's exe just use the App.Major and App.Minor properties to get the major and minor version numbers, respectively. enjoy.
-
Mar 31st, 2000, 04:09 AM
#4
Check out the Code Snippet I've posted on PlanetSourceCode that retrieve that information.
-
Mar 31st, 2000, 06:02 AM
#5
Thread Starter
Junior Member
Thanks Surge, that was exactly what I needed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|