Results 1 to 3 of 3

Thread: How to write to a DOS window

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Paris, France
    Posts
    1

    Post

    I am trying to write a simple program that runs from a Windows NT DOS windows. I have found how to read parameters I am passing in (function Command()), but I cannot write any message to the DOS window. I looked at the Print method, but it just prints in the VB exec window. I also tried to open the CON, but it does not work either.

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Check out VB-World's article on how to write a console like application.

  3. #3
    Member
    Join Date
    Jun 1999
    Posts
    52

    Post

    Another way would be to write to a batch file and then Shell() the batch from your progarm.
    -Adam
    Yahoo!: _eclipsed_
    ICQ:18534929

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