VBScriptFor questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
The following code is only returning a version number with .dll files. I am trying to determine the version of an access file. Any reccos?
----------------------------------------
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
v = fso.GetFileVersion("C:\test.mdb")
msgbox v
I seem to recall that you can't retrieve the version of an application file using this method. You have to access the application object in order to get the version of Access ths is written in (like 95, 97, 2000, XP, 2003)