Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(VB.Net - FileVersionInfo.GetVersionInfo) Is there a VBScript equivalent?

Status
Not open for further replies.

bakerm

Programmer
Apr 25, 2000
53
US
I'm trying to convert a script I've created in VB.Net to VBScript. I am unable to replicate the Class FileVersionInfo.GetVersionInfo features. Anyone done something like this before?
 
Thx for the fast response guitarzan!

What I am needing is a bit different...the class name is a bit misleading.

The .Net Class FileVersionInfo.GetVersionInfo returns the following:

File: C:\Anyfile.exe
InternalName: ListCtrl.exe
OriginalFilename: ListCtrl.exe
FileVersion: 1.0.0.1
FileDescription: TODO: <File description>
Product: TODO: <Product name>
ProductVersion: 1.0.0.1
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language: English

I am most interested in the "Debug" info as I have to make sure that new managed/unmanaged files have not been compiled while in debug mode.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top