|
-
May 22nd, 2001, 05:33 PM
#1
Thread Starter
Junior Member
Pls ..help...PDF file opening in VB
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
-
May 22nd, 2001, 05:37 PM
#2
Click Project menu, components
Select acrobot control and OK.
Draw it out on screen.
Code:
Pdf1.LoadFile (Path)
-
May 22nd, 2001, 05:40 PM
#3
Addicted Member
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.
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
May 22nd, 2001, 05:41 PM
#4
Addicted Member
Oh wow...while I was posting my thoughts I was proven wrong
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
May 22nd, 2001, 09:10 PM
#5
Thread Starter
Junior Member
Thanks lord_dude..but..
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
-
May 23rd, 2001, 02:13 PM
#6
Originally posted by csammis
Oh wow...while I was posting my thoughts I was proven wrong
Happens to me sometimes and is very annoying
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.
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
|