Determine if exe was created in VB6 or .net

Posted on 2011-10-05
Last Modified: 2012-06-27
Hello experts,

I have hundreds of exe files that some were compiled in VB6 and the rest were
compiled in C# or
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.
Question by:oferz
    LVL 9

    Expert Comment

    What you require is basically a reverse engineering tool for this.
    One such tool is PEid which can be downloaded from
    More links to such tools can be found at

    Hope this helps
    LVL 9

    Accepted Solution

    check if this works for you
    FileVersionInfo myFileVer = FileVersionInfo.GetVersionInfo("yourexe.exe");

    Open in new window


    Author Closing Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    David Parker’s latest book, Microsoft Visio 2010: Business Process Diagramming and Validation, will give you the tools to turn flowcharts and other business diagrams into valuable, data-driven corporate assets. Armed with the knowledge you’ll gain f…
    The ability to add structure to Visio diagrams using containers, lists and callouts is one of my favorite features in Visio 2010. In this article I’ll describe a mashup of containers and lists that meet a real-world need. Prior to reading this ar…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now