|
-
Jan 7th, 2005, 04:44 AM
#1
Thread Starter
New Member
opening acrobat reader document using VB
hi all
i want to open an acrobat reader file using Vb
as we create an object of word,or excel
can we create an object for acrobat reader and open a
pdf doc and then save it
can anyone suggest me some code
can someone plz send some piece of code
thanks and regds
-
Jan 7th, 2005, 04:49 AM
#2
Re: opening acrobat reader document using VB
I don't think that you'd be able to save it, or even modify it without owning Acrobat, instead of AcroRead.
-
Jan 7th, 2005, 05:29 AM
#3
Thread Starter
New Member
Re: opening acrobat reader document using VB
hi all
i do own an acrobat writer
but can i create a object of it and save the file
set passwd to it
plz let me know how can it be done
can u fwd some code
thnks and regds
paresh
-
Jan 7th, 2005, 07:32 AM
#4
Re: opening acrobat reader document using VB
VB Code:
Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Const SW_SHOWNORMAL = 1
Private Sub Command1_Click()
ShellExecute Me.hwnd, vbNullString, "CEO_EEOAA_2005.pdf", vbNullString, "C:\", SW_SHOWNORMAL
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|