I am writting a program that runs different shell commands. One of the shell commands starts downloading files from a remote location. When you run the shell command the shell pops up and shows the amount of data received. Is there a way to grab that info from the shell and hide the shell and display it on the VB GUI?
well the data streams, so it will take from 1 minute to many hours to stream the data - i want to constantly show how the progress is
Also while we are on the topic of shell, I am also having this other problem.
I am running this command:
Shell("c:\replaypc\replaypc " & ipaddress & " -d > text.dat ", AppWinStyle.MaximizedFocus, True)
it is supposed to write the output to the text.dat file. For some reason it is not writting it. Though if I go to the command line and type this in it does!
Do you know why?
Is there a way to send a command to have the window minimized? Also this isn't working exactly as I would like because the vb code waits to do something until after the code is executed... Which means it isn't streaming on the vb app what is happening - like the amount of data being downloaded.