Can any experts kindly share out the code of how to read the content of .pdf files? (or may be just load them into the vb interface as an image)
Thanks =)
Printable View
Can any experts kindly share out the code of how to read the content of .pdf files? (or may be just load them into the vb interface as an image)
Thanks =)
adobe has an sdk available, but i don't know what it can do.
i have a freeware program that can convert pdf into jpg or html, either of which you can do something with
rgds pete
the project only allowed vb =(
anyway, thanks for your kind suggestion =)
the sdk would probably be a dll or ocx that would expose its methods to vb, so that would still be VBQuote:
the project only allowed vb =
pete
oh? can you tell me in details? thanks.
my msn is [email protected], icq 98470205.
adobe
note: it is not free
rgds pete
er.......... sorry for mentioned it clearly, i am not allowed to buy any other license.
only vb program was provided to me. I ASK FOR CODE.
thanks
they have a plug-in for explorer. can you call explorer from your project, witht the plug-in?
cannot, it's just simply something like, a person wanna load some pdf files into vb and creat an E book(an .exe file) using them.
adobe has made this as hard to do as they possibly can.
others have been able to do this, but wether or not they could do in VB is another matter
do a search for GNU ghostscript as this is, i believe, the basis for pdf conversions
GNU is free to use and you can download
ghostscript
pete
westconn1, i think you din get wat i mean.
i wanna make things as simple as possible, i wanna know if there's have any code to read pdf files directly using vb. (the best method)
if really dun have such code, then just considered using other file formats or programs.
they don't let you easily read their files.
that's why asking vb code experts to see if there's really a code to read it (or read it as an image in the vb interface)
if you buy the sdk, then you can use vb to read the format, but you need their .dll files. M$ licensed it for their plug-in, so i'd use that so you don't have to pay.
i am sorry but i thought you would prefer some options to a simple no
VB has nothing built in to read or display pdf files, to do so you would haveto open the file as a binary file then translate it back into text, not something to be undertaken lightly, i had a look at a pdf in my hex editor.
many of the other programs that do translate pdf files use the ghostscript
many vb programs shell to other programs to do things that can't be done within VB
sorry this is not what you were looking for
pete
i appreciate your help, westconn1, and dglienna too.
i will try to read through some books next week, as it's impossible for me to buy a license.
but if there's really dun have a 'direct' code to read pdf files, then i may have to count on both of you lolz......
thanks a bunch.
best regards,
edwin
westconn1, or anyone, may i know how the code to convert pdf files using ghostsript and then read it??
thanks.
download cutepdf i think it lets you save output as html
AFAIK cutepdf only lets you write a file to pdf
does that mean you can use outside program if you don't have to buy??Quote:
as it's impossible for me to buy a license.
Amber ABC is a free download (30 day trial) that will convert .pdf to vaious other formats that vb could read. It worked quite well before my 30 days expired
if i knew of any fully free converters i would have got already. there are several free utilities at planet pdf, but i haven't checked them all out
pete
I thought I read something about html. Maybe not. What about GhostScript?
Doesn't that do conversion?
i found some source code to read and write in pdf format via vb in sourceforge. it was some time ago and am not sure exactly which place to look for in sourceforge but do a search in pdf in sourceforge.net.
oh yeah. its still there and its called pdfcreator. its in vb, dont worry about it, with full source code, and its one heck of a big program. :D and of course, the link
http://sourceforge.net/projects/pdfcreator/