PDA

Click to See Complete Forum and Search --> : Console Application with VB


devarajulu
Jan 25th, 2000, 05:27 AM
Hi,
I am trying to write a console application with VB(dont ask me why). I know that you can start with Sub Main() and may not have any Forms and get args passed from the command line with "Command". My question is lets suppose i build the executable and invoke it from the command prompt, how will i be able to print out messages on the console the same way a C console application does. Any help, possibly code fragments are greatly appreciated
regards
Dev

MartinLiss
Jan 25th, 2000, 06:17 AM
You don't mean MsgBox messages do you?

------------------
Marty
Why is it called lipstick if you can still move your lips?

devarajulu
Jan 25th, 2000, 06:20 AM
No i dont mean msgbox messages. i mean console messages like the ones which you get on the command prompt by using printf statements of a C exe

chrisjk
Jan 25th, 2000, 06:31 AM
You may or may not find this of use http://www.vb-world.net/articles/console/

Good luck,

------------------
- Chris
chris.kilhams@btinternet.com
If it ain't broke - don't fix it :)