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

Determine VB version of .exe file? 2

Status
Not open for further replies.

Ed2020

Programmer
Nov 12, 2001
1,899
GB
Hi,

If I have an executable file that was created in Visual Basic (either VB6 or earlier) is it possible to determine which version was used?

TIA,

Ed Metcalfe.

Please do not feed the trolls.....
 
You should be able to right click on the .exe and go to Properties and then go to the Version tab for the information you're after.

Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
HarletQuinn,

Thanks for your reply.

This tab shows the version number of the application, but I can't see anything pertaining to the version of Visual Basic that was used to create the application. Am I missing something.....?

Ed Metcalfe.

Please do not feed the trolls.....
 
Sorry Ed, I'd mis-understood your question there... [blush]

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
open it with an the Notepad editor, or whatever, and for example do a text search for the VB runtime dll ("MSVBVM60.DLL") or which ever version
 
Excellent, thank you! Have a star.

Ed Metcalfe.

Please do not feed the trolls.....
 
Not that I'm complaining but I assume that star was for SBerthold?

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Whoopsy! Yes, it was. Still you can have one too for taking the time to respond. :)

Ed Metcalfe.

Please do not feed the trolls.....
 
Cheers Ed [wink]

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Thanks. That was a cheap way (Notepad), but you could use something like Depends.Exe (Dependency Walker) and see which Dlls the exe uses (start profiling to see the ones visible only at runtime)

 
Thanks for the recommendation. I've also used OllyDbg for similar things in the past but I'll take a look at Dependency Walker as well.

Ed Metcalfe.

Please do not feed the trolls.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top