PDA

Click to See Complete Forum and Search --> : Output from DOS window into text box/label/listbox


Jan 6th, 2001, 09:26 PM
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

Adrian Koh
Jan 10th, 2001, 02:02 AM
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.

Jan 13th, 2001, 03:30 AM
shell "batchfile.bat", vbHide