creating a .exe File

Hello,

 i have a really simple question, I’m a noob on Visual Basic.

Can I create .exe Files with Microsoft Visual Baisx 2005 Express Edition

greetz steverino


Answer this question

creating a .exe File

  • bmc410

    Just Build your project and the .exe is in the Bin folder for the project.

    GS

  • Shaun Erikson

    But another question is .....

    What's the real difference between a publish (for redistribution), which seems to install a reference in the startmenu with no target file, and just distributing the exe with supporting files How do you set up a real "setup.exe "

  • Steven Beasley

    Actually, I figured it out. I dont, but I was trying to run it from a server. But it is just a file server so .net wouldnt be installed. Its basically just a deployment, and I found it really easy to code in Visual Studio because of the way the process' are used in there. So this is the way I was going to go, but now I am trying to use VBS instead. Thanks for the help
  • Kbathgate

    Hy,

    How to create a setup.exe That's easy...you have to publish your application......like this:
    Open your application in Visual Basic Express 2005 > in the solution explorer, right click the Project Profile (the name of the application<the one on the top>) > and click publish.
    From there, you set the path where the setup.exe (and the other instalation files) will be created......and follow the other steps > finish.
                                                                                Tell me if it Works ;)
          
                                                                                                           Cypry
                                                                      

  • Suite

    Greetings!  I found your thread using Search!  Ninja n00b skills!

    Seriously though, I've downloaded the VB Express and created my first project which works beautifully, but I can't figure out how to package the project for distribution.

    The stumbling block is that I have created a couple of static files that need to be installed in C:\Windows at the time of installation, and I can't figure out how to accomplish that.  Also, I'd like an icon to appear on the All Users desktop as a result of installation - stumped on that one too, sadly.

    Any assistance would be much appreciated.  TIA!!

  • Scotty Davis

    I was just curious about this. I have made my .exe however I can not use this on other computers. Is this not possible
  • Alibong

    Okay. Ill bring you through the whole process, in case you messed something up in the beginning.
    File - New Project
    Select a type, name the project.
    Write your project and do all your programming until you are finished.

    Now, for a .exe that is not a setup file, first click File - Save All, then click Build - Build(ProjectName)
    Navigate to
    \My Documents\Visual Studio 2005\Projects\(ProjectName)\(ProjectName)\Bin
    The .exe should be in this folder, unless you changed it, in which you would know where it is.

    For your setup file, click Build - Publish (ProjectName)
    You should be guided through this process and given an option of where you wish to place all the setup files including the .exe.
    Now, obviously locate the directory where you told it to save the .exe and then there it is.

    If you are failing to do one of the steps and also not getting your .exe, then thats quite obviously why you are not getting an .exe.

    Otherwise im not sure exactly what is going on, i would have to know more about what exactly you are doing.



  • iron94

    but how

     Thats my problem!

    greetz

  • Murali.V

    Hello Steve,

    yes you can. See this page for more info about what types of projects you can create in VB Express: http://msdn2.microsoft.com/en-us/library/b4z62wxz(en-US,VS.80).aspx

    Console applications and Windows applications produce an executable file (.exe)

    HTH

    Antoine
    Visual Basic team

  • OziSnowman

    Do you have the .net 2.0 framework on that computer
  • IgorKov

    How exactly do u create .exe file

    I mean I can only save my project as a .vb file or text file.How do u make it an executable file

    Can anyone help me with that plz


  • creating a .exe File