• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Determine if exe was created in VB6 or .net

Hello experts,

I have hundreds of exe files that some were compiled in VB6 and the rest were
compiled in C# or vb.net.
I'm looking for a way to loop the directories and find only the exe that were created in VB6.
Can you point me to certain direction?
Thanks in advance.
Oferz
0
oferz
Asked:
oferz
1 Solution
 
pritamduttCommented:
Hi,
What you require is basically a reverse engineering tool for this.
One such tool is PEid which can be downloaded from http://www.peid.info/
More links to such tools can be found at http://www.woodmann.com/collaborative/tools/index.php/Category:Compiler_Identifiers

Hope this helps
0
 
sachinpatil10dCommented:
check if this works for you
FileVersionInfo myFileVer = FileVersionInfo.GetVersionInfo("yourexe.exe");

Open in new window

0
 
oferzAuthor Commented:
Thank you very much, it was exacly what I needed.
I read the myFileVer.Language attribute and it is always different from the .net exe files.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now