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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting a file version with VB6 using WMI 1

Status
Not open for further replies.

spence74

Programmer
Jul 16, 2004
34
0
0
US
The subject line says it all. I have a set of applications and dlls that need to check for updates in a predetermined update directory. Up until now, this worked great using the FileSystemObject because all my users were on a local network. Now I have users connecting to the network via VPN and just comparing file version of 15 files in the update directory vs the local disk takes a really long time. I read that the FileSystemObject is designed to work locally and that WMI works better over a WAN.

Does anyone have any sample code that I could use to demonstrate how to determine a file version using WMI?
 
Thank you very much. That is exactly what I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top