I am using the following code to print a .pdf file to my default printer in VB6, which works correctly, but it leaves an empty Acrobat Viewer window open even after the application closes. Does anyone know how to force this window to close through code?
(OS: WinXP SP3)
code example:
Call ShellExecute(hWnd, "Print", "C:\MISC\Limits.pdf", "", "", 0)
(OS: WinXP SP3)
code example:
Call ShellExecute(hWnd, "Print", "C:\MISC\Limits.pdf", "", "", 0)