
File version and/or revision
Hello all, I am in the midst of learning to properly program using VB
(VB5,6 is what im using) and have a couple of questions.
1. How would one, after verifying that a file exist; peek the
information of that file in order to be sure it's the right version or
revision of the file?
Example: I need to find myfile.dll to on the pc. In addition myfile.dll
must be 786kb, file version 1.x, with an Original Filename myfile.dll
2. Providing that I can extract this info from the neccessary files, is
it then possible to match this information with a table of set
information.
Example :
File Info Access or VB ref table
File name: myfile.dll Original Filename= myfile.dll
Version: 1.2 File Version = 1.x
File size: 768,121 File Siz = 768,121
Assuming I assigned File Version= 1.x where x = a variable this file
would match the criteria of the ref table. Is something like this
possible (of course it is :-) ) and what is the best way to go about
doing this?
Thanks in advance as any and all help is apprectiated
PS Would this be easier to do with VBA?
Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.