Shell Execute Print
Posted on 2003-11-26
I'm trying to print a PDF document from VB.
I tried : myProcessID = Shell(all, 0) but I don't know WHEN to kill the process since I don't know if the print is done.
I tried ShellExecute(hwnd, "Print", file, flags, "", 0) but I don't know WHAT process to kill
I'm using Acrobat 6.0 and after the printing is done, the application Acrobat is still in my process list, but I would want it to die.
What should i do ?
thanks in advance