Link to home
Start Free TrialLog in
Avatar of Llandr
Llandr

asked on

File version info

How do I get the file version info for an OCX, EXE or DLL.
Is this the version resource?
Is there a simple way to do this.
Points will be awarded for an answer containing a routine that does this, I need code.
Avatar of Mirkwood
Mirkwood

See also the version info classes at
http://www.mvps.org/vb/samples.htm
Avatar of Llandr

ASKER

Mirkwood: Not what I needed, sorry.

I need a function which I give the filename and which then extracts the file's version number.
I do not want to load the DLL (I dont think I can load an EXE).


ASKER CERTIFIED SOLUTION
Avatar of Mirkwood
Mirkwood

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Llandr

ASKER

Very good answer thank you!!!!