Results 1 to 3 of 3

Thread: Output from DOS window into text box/label/listbox

  1. #1
    Guest

    Exclamation

    I execute a program (a batch file if anyone is interested) using the SHELL command, using the vbHide parameter so that I don't have messy DOS windows cluttering up the place but I want to pipe the output into a textbox/label/listbox/whatever works as it happens (IE: I don't want to put after each command in the batch file >output.txt then read the text file, I want the user to see it in real time) I also created a PIF file so when the batch file comes to the end it closes, how can I suspend my program unti the program I "shelled" has finished.

    Thanks in advance for your help

  2. #2
    Lively Member Adrian Koh's Avatar
    Join Date
    Jan 2001
    Location
    Johor, Malaysia
    Posts
    64

    Talking Hi need your help

    Can you tell me how do you do it.
    Running a batch file without it being visible.
    Can you give me the code to do that please.

    Thanks a lot.
    VisualBasic5.0ServicePack3

  3. #3
    Guest
    shell "batchfile.bat", vbHide

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