Hi. Me Again
. I am looking for a way to force a DOS window created with a CreateProcess() to close automatically when the program is finished. I want the program to automatically run a DOS program (PKZIP.EXE), wait for completion of it, and then automatically continue when it is finished. The program runs the program for me, but after PKZIP is finished the window title changes to PKZIP-finished and it stays open until I close it manually. Then the VB program continues on running like it should. I have tried putting a _default.pif file in the C:WINDOWS directory with the proper settings, to no avail. Any ideas, anyone? Thanks again.