Results 1 to 4 of 4

Thread: Console Application with VB

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 1999
    Location
    Bangalore, Karnataka, India
    Posts
    16

    Post

    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

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    You don't mean MsgBox messages do you?

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

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 1999
    Location
    Bangalore, Karnataka, India
    Posts
    16

    Post

    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

  4. #4
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    You may or may not find this of use http://www.vb-world.net/articles/console/

    Good luck,

    ------------------
    - Chris
    [email protected]
    If it ain't broke - don't fix it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width