Hello all
Apologies if this is the wrong forum for this query, but I am not sure what category it comes under.
I am retired, and for my own amusement I am writing a program in VB6 on XP SP2, for part of which I would like to display pdf files.
My wife is heavily into crafting, making greetings cards for birthdays, Xmas etc. She has bought a few cds with various graphics that she uses for these cards.
To save having to keep swapping the cds to look for what she wants to use, which can take quite a time if she doesnt know what she wants, I have copied them to my hard disk and written a program in VB6 which allows opening any of these copied cds by either running the exe in the appropriate folder or opening in ACDSee 6 or Ashampoo Photo Commander 5 for browsing, editing etc.
She also has things that she uses in pdf files, as well as assorted knitting and sewing patterns. I thought that it would be nice to bring these together in my program to allow browsing in the same manner as an image browser, but using a pdf thumbnail viewer (?) of some sort within the program so that we could browse through the pdfs when she wants something that is in one file but we dont know which, and could switch from graphic to pdf browsing easily and quickly. A browser such as I have said would at the very least give us an idea of which file to look at without opening them one after another in Reader.
I found a reference that said to use the pdf.ocx that came with Acrobat Reader 5. I added this to the project and placing on a form, then loaded a file with
pdf1.loadfile "........."
When this statement was reached I received a dialog stating
Could not find Acrobat External Window Handler
The viewer will only be used for this program on my personal pc and the program will be infrequently used, only when birthdays etc are on the horizon, so I dont want anything that has to be paid for. I dont want to edit or create pdf files, only view them then open in an external program.
I could open them with Reader but again this would not allow browsing in the same manner as an image browser.
I have come across references to an AcroPDF.ocx in your forums, which is said to be variously part of Acrobat Reader 7 or 8, together with the pdf.ocx from Reader 5. I have installed Reader 5, 7 and 8, but there is no acropdf.ocx, only an acropdf.dll, which also gives me errors on Loadfile. In fact it crashes the VB IDE. I cannot find this AcroPDF.ocx except in the references above.
I would be grateful for any advice.
Stuart
Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.