Console won't display

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can't get my console to disply vb.net code, like: Console.Write ("Enter Amount: "), when I run good code from a vb.net IDE. I can compile and execute the same code from the command line with references and it works great.

What do I need to do to get a console to display and show the code?
 
Are you simply hitting F5 to run the EXE? What do you see? The console
*never* even shows up? Are you sure you have a console app there?

--
Klaus H. Probst, MVP
http://www.vbbox.com/


Dennis S said:
I can't get my console to disply vb.net code, like: Console.Write ("Enter
Amount: "), when I run good code from a vb.net IDE. I can compile and
execute the same code from the command line with references and it works
great.
 
Solution: It is a VBProj properties setting: Apparently the default is Windows Display. Go to the VBProj Properties > Common Properties > General > Output Type > select Console Application.
 
Back
Top