Hi,
I use the Shell function to execute a script that extracts files from Sourcesafe and places them elsewhere. When the function is called, a dos window opens up and shows all the files being copied one at a time. I know I can hide the window with the function setting vbHide and what I would like to do is to show each line as it is being processed on my VB form. So far, all I have been able to do is to direct the output from the script into a text file using -oResults.txt. I can only read this after the whole thing has finished though! Is it possible to be able to retrieve each part of the output from the script as it is coming through?
Any help will be appreciated,
Shaun
I use the Shell function to execute a script that extracts files from Sourcesafe and places them elsewhere. When the function is called, a dos window opens up and shows all the files being copied one at a time. I know I can hide the window with the function setting vbHide and what I would like to do is to show each line as it is being processed on my VB form. So far, all I have been able to do is to direct the output from the script into a text file using -oResults.txt. I can only read this after the whole thing has finished though! Is it possible to be able to retrieve each part of the output from the script as it is coming through?
Any help will be appreciated,
Shaun