The Acrobat application is minimized. However, it is not displayed in the taskbar. It only remains as a process in the memory. It is possible to use it at any time.
Only Acrobat can be used. It is not possible to use it with Acrobat Reader.
|true:||the Acrobat application is hidden successfully.|
Sample: VBA of Excel
The Acrobat application is minimized.
- Please confirm the test by the step execution with F8 key.
Dim lChanNo As Long ‘DDE channel number
Dim strFilePath As String ‘The full path of PDF file
‘The Acrobat application is Started
Shell “C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe”
‘Open of DDE channel
lChanNo = DDEInitiate(“Acroview”, “Control”)
‘The Acrobat application is erased.– The process remains.
DDEExecute lChanNo, “[AppHide()]”
‘The Acrobat application is returned from minimization to former size.
DDEExecute lChanNo, “[AppShow()]”
‘All PDF is shut, and the Acrobat application is end.
‘The Acrobat process also disappears.
DDEExecute lChanNo, “[AppExit()]”
‘The DDE channel is shut.
- It is not possible to use it with Acrobat Reader.
Environment to confirm the operation
- WindowsXP + SP3 + WindowsUpdate
- Acrobat Reader 9.1.0 + Office 2003 Pro