my code:
Private Sub STAMPA_PDF()
'STAMPA FILE PDF
Dim LNGRET As Long
TerminateProcess "Acrobat.exe"
LNGRET = ShellExecute(0, "print", PATHPDF, vbNullString, vbNullString, SW_HIDE)
Sleep (2000)
TerminateProcess "Acrobat.exe"
'STAMPA FILE PDF
End Sub
i need to printing the pdf but wotouth to show the Acrobat window, possible?
note:
tested with const SW_HIDE=0, but the window show again!
Private Sub STAMPA_PDF()
'STAMPA FILE PDF
Dim LNGRET As Long
TerminateProcess "Acrobat.exe"
LNGRET = ShellExecute(0, "print", PATHPDF, vbNullString, vbNullString, SW_HIDE)
Sleep (2000)
TerminateProcess "Acrobat.exe"
'STAMPA FILE PDF
End Sub
i need to printing the pdf but wotouth to show the Acrobat window, possible?
note:
tested with const SW_HIDE=0, but the window show again!