I am using VS 2002.
console.writeline doesn't popup my black window to display...
anything wrong with my envirnoment...
pls advise.
thanks
Printable View
I am using VS 2002.
console.writeline doesn't popup my black window to display...
anything wrong with my envirnoment...
pls advise.
thanks
Hi,
this is not that All Console.WriteLine should popup a console window. While opening your project you need to open it as Windows Console Application. Or else you have to compile your vb file using
>vbc x.vb
in dosprompt as an ordinar Exe.
While opening your project if you choose your project as Windows Application then the VS2000 will compile your vb file as winexe not as exe which will not provide you a popup console window.
Try to open a new Console Application project in your VS2000 and try to test your Console.Writeline("Hi").
Good Luck.
-Jai.
that runs in dos command prompt then during the development of the app, we should open it as a 'console application' rather than a 'windows application'.
am I correct....
nath
No again you are wrong. There are lot of ways to open a console. One simple way is this. While considering about .NET don't ever think about the IDE. The IDE uses only to develop the application so easily. The IDE hides lot of things behind you. Think that when you are writing your code in notepad.
How will you compile & execute your code. If you try to find the answer, you will know the entire .NET architecture. Before going with the IDE try to use the notepad atleast for one week for developing simple tasks.
It will be really interesting to know the facts what is running behind the IDE.
-Jai