Command prompt from IDE?

I am VBE newbie.  The help says I get to a command prompt form IDE via view\other windows\command window.  "Other windows" gives me no "command window" choice.  I am trying to compile/run the "hello world" example program from command prompt.  I can get to a command prompt by using XP's start/run/cmd and cd'ing down to my project folder, but surely there is a easier way from from IDE.  Yes, I know F5 compiles and runs from IDE.  But I want to do it the old-fashioned way.

Answer this question

Command prompt from IDE?

  • Gabriel PURAN

    hi,

    i guess Branco just kidding there is no msgbox in the console applications

    anyway what sjwhiteley and Reneec said is right , you can also use the debug menu >> start debugging

    hope it was helpfull



  • kotteesh

    here is a suggestion for for you....

    On your tools menu...

    Select External Tools under Command. Browse for

    systemdevice:/windows/system32/cmd.exe

    Under Initial directory you can tell it the target directory or if you have to, the bin directory you are working in

     

     



  • PKlammer

     Bronco Billy wrote:
     Maybe Something was Lost in the Translation......  I Posted the Most Lowest Level VB Program that Answered the Man's Question.......   

    :) we have to thx God for manythings

    1) writing lowest level vb program or oop's programs is not right of birth

    2) there are some tools we can use to learn what is correct like this forum

    3) ppl who write wrong codes to learn what is right

    4) ppl who try to make fun to know how precious the serious ppl are



  • Desmond Green

    hi,

    and i really appreciated the serious ppl when i see your posting, all what i learned from you is (the irrelevant spaghetti)



  • DarrenG

     jonbu wrote:
    I am VBE newbie.  The help says I get to a command prompt form IDE via view\other windows\command window.  "Other windows" gives me no "command window" choice.  I am trying to compile/run the "hello world" example program from command prompt.  I can get to a command prompt by using XP's start/run/cmd and cd'ing down to my project folder, but surely there is a easier way from from IDE.  Yes, I know F5 compiles and runs from IDE.  But I want to do it the old-fashioned way.

    Module Module1

    Sub Main()

    MsgBox("Hello World")

    End Sub

    End Module


  • zeipherus

     shakalama wrote:

    hi,

    i guess Branco just kidding there is no msgbox in the console applications

    anyway what sjwhiteley and Reneec said is right , you can also use the debug menu >> start debugging

    hope it was helpfull

    First of All Shock it's It's Not Branco it's Bronco and you are NOT the Authority Here..... MS is THE Authority Here..... Maybe Something was Lost in the Translation......  I Posted the Most Lowest Level VB Program that Answered the Man's Question.......   


  • tshad

     ReneeC wrote:

    I Posted the Most Lowest Level VB Program that Answered the Man's Question.......   

    Except that:

    A: The program you wrote will not work because message box is from class which is not in your response

    B. Your response has nothing to do with what the poster was asking.

    If You Do not know how to Execute the Lowest level VB Program Possible maybe you ought to........... 1. click on file 2.click on new project. 3. Click on Console Application. 4. Insert the statement Msgbox("Hello World") 5. Press CTRL F5. The rest of your Jibberish is not worth a response......


  • Scoob

     shakalama wrote:
     Bronco Billy wrote:
     Maybe Something was Lost in the Translation......  I Posted the Most Lowest Level VB Program that Answered the Man's Question.......   

    :) we have to thx God for manythings

    1) writing lowest level vb program or oop's programs is not right of birth

    2) there are some tools we can use to learn what is correct like this forum

    3) ppl who write wrong codes to learn what is right

    4) ppl who try to make fun to know how precious the serious ppl are

    Come On Shak Loosen Up I Learned A Lot From Your Posts.... Keep Posting..... I was Just trying to Make a Point..... Everyone else in the World Knows We(USA) are a Bunch of Pr*cks..... 


  • Tomerha

    Are you saying that instead of pressing F5 (which is actually 'start debugging'), you'd rather type in the name of the executable to run it

    Basically, what you have said (navigating to the folder through the command line), is the way to do it. If you want to make it easier, you could install the 'Command Prompt Here' power toy (Allows you to right click on a folder in explorer and open up a command prompt starting in that folder: it just makes a few registry entry changes).

    Or, you can just doubleclick the executable in explorer.

    Is this 'hello world' application a console application To be honest, I haven't created a console application in about 15 years so don't know how they work . Sounds like you are expecting a Un*x console or something .



  • Anthony Wong - MSFT

     Bronco Billy wrote:

     jonbu wrote:
    I am VBE newbie.  The help says I get to a command prompt form IDE via view\other windows\command window.  "Other windows" gives me no "command window" choice.  I am trying to compile/run the "hello world" example program from command prompt.  I can get to a command prompt by using XP's start/run/cmd and cd'ing down to my project folder, but surely there is a easier way from from IDE.  Yes, I know F5 compiles and runs from IDE.  But I want to do it the old-fashioned way.

    Module Module1

    Sub Main()

    MsgBox("Hello World")

    End Sub

    End Module

     

    I Posted the Most Lowest Level VB Program that Answered the Man's Question.......   

    Except that:

    A: The program you wrote will not work because message box is from class which is not in your response

    B. Your response has nothing to do with what the poster was asking.



  • Command prompt from IDE?