darre1
May 8th, 2001, 03:28 AM
I'm trying to execute a dos program using the shell command, which works fine, but i want the dos program to finish processing before my vb prog continues. This part i can figure out, but also when the dos program finishes executing it doesnt close itself properly, and is visible on the task list. Also after doing this 2 or 3 times it really chews up a lot of the system resources.
in the MCSD library it talks of a class called CExecutive that can handle program calls instead of the shell command and can also use the windows API to terminate the program for you, cleaning up any used resources automatically etc. I cant find this class anywhere though, not even on MS's knowledge base.
Does anyone know where i can find this, or any alternative???
Any responses, useful, comical or insulting will be much appreciated.
Darrel.:)
in the MCSD library it talks of a class called CExecutive that can handle program calls instead of the shell command and can also use the windows API to terminate the program for you, cleaning up any used resources automatically etc. I cant find this class anywhere though, not even on MS's knowledge base.
Does anyone know where i can find this, or any alternative???
Any responses, useful, comical or insulting will be much appreciated.
Darrel.:)