VB 2005: How to Export Project as an .exe file?

Posted on 2008-11-15
Last Modified: 2013-11-26
Dear Experts:

Hi again!

I made a simple VB 2005 work with kind help from your geniuses.

I would like to learn how to export it as .exe file so that it can be executed independently?

Thanks a lot!
Question by:duta
    LVL 62

    Accepted Solution

    Hi duta,

    Any time you create a program in .Net with the exception of C++ native you are creating a file with an extension of .exe but truely is a MSIL file that gets compiled at runtime by the .Net Framework CLR. If you are trying to compile a program in .Net but run on a computer that does not have .Net on it it will not run, any system that you port the program to must have .Net installed and the correct version.


    Author Comment

    Where can I find the .exe file that was created at the debugging?

    LVL 69

    Assisted Solution

    by:Éric Moreau
    You don't export as .exe, you need to BUILD. Use the options under the build menu.

    As Fernando told, an application built for the .Net framework won't run as a real independant application. It will always require the .Net Framework to be installed.
    LVL 85

    Assisted Solution

    by:Mike Tomlinson
    The EXE files are located in the Projects "bin" subfolder...either the Debug or Release folder.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    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.

    729 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

    19 Experts available now in Live!

    Get 1:1 Help Now