Results 1 to 2 of 2

Thread: Printing in the same console from where the exe is called

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Posts
    1

    Question Printing in the same console from where the exe is called

    Hi All,

    I'm writing a VB EXE that just does something quickly without a form. It gets called from a "DOS" command window. I need to return the results automatically back to that 'same DOS command window'. Sort of like when you type "DIR" you get the results listed right away in the same DOS window. How do we print text back to that same DOS window from where the VB exe is run? (WriteConsole creates a new console window and displays the text)

    Thanks & Regards,
    Jeeva

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Printing in the same console from where the exe is called

    Write to the console (con: ). I believe vb supports that.

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