I have a .PDF (Acrobat) file and would like to open it using Visual Basic. Is it possible .
Can someone point me in right direction please.
thank you
nath
Printable View
I have a .PDF (Acrobat) file and would like to open it using Visual Basic. Is it possible .
Can someone point me in right direction please.
thank you
nath
Click Project menu, components
Select acrobot control and OK.
Draw it out on screen.
Code:Pdf1.LoadFile (Path)
The only thing I can think of is using Shell or one of its API equivalents to launch Acrobat Reader with the PDF filename as the argument. Adobe is pretty tight-lipped with the PDF format (it costs a bundle to get a program that creates them), so I don't think there are any PDF-related controls for VB. Even if there are, they'd probably be pretty pricey.
Oh wow...while I was posting my thoughts I was proven wrong :)
Lord_dude,
I am able to load the PDF file into the Acrobat activex control.
But can copy the content of the PDF file into an ASCII file? I need to take the content put into an ASCII file and manipulate that content. PDF is a binary file I don't if I can copy the content of a binary file into and ASCII file or into an Access database.
Pls suggest me..
Thank you
nath
Happens to me sometimes and is very annoying :DQuote:
Originally posted by csammis
Oh wow...while I was posting my thoughts I was proven wrong :)
bnath001
Not really sure how to do this. The only way i can think of would be to open the pdf in adobe acrobat reader, then pass in the keys ctrl a (select all) followed by ctrl c (copy) and then save whats in the clipboard into file. There might b a much easier way of doing it but i have never really used the pdf control so i dont know much about it.