|
-
Apr 19th, 2001, 07:25 AM
#1
Thread Starter
Frenzied Member
Is it possible opening a pdf-document using Acrobar Reader in Visual Basic?
-
Apr 19th, 2001, 07:29 AM
#2
Fanatic Member
yup,
install acrobat reader and look in the ActiveX folder under the reader folder in the acrobat directory (if that makes any sense) there you will find the type library, add a reference to it in your vb project and away you go.
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Apr 19th, 2001, 07:52 AM
#3
Thread Starter
Frenzied Member
How do I open the file?
Great, thanks, but what if I want to open the Acrobat Reader like opening the winhelp?
Code:
Private Sub Command4_Click()
WinHelp Me.hwnd, App.Path & "\Help_reducers.hlp", 9&, 0&
End Sub
-
Apr 19th, 2001, 08:06 AM
#4
Fanatic Member
Every different library has it's own syntax i'm afraid, opening a pdf may not be similar to opening a winhelp file, the best thing to do is hit f2 and browse the library in the object browser and find out how to do this, I only tried it on an ad-hoc basis, I know about as much as you do - that it's possible.
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
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
|