These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Pdf in a windows visual basic

giulio
Registered: Apr 14 2010
Posts: 4

I put acrobat reader in a window of Visual Basic.
The advanced search does not work.
Can anyone help me?

Thanks in advance

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
When Acrobat/Reader is displayed inside another program using the ActiveX object it's functionality is reduced. I don't know why the search would be a problem. You should get exactly the same functionality when a PDF is displayed in a web browser. But is could also be how you are doing it. What methodology are you using? Did you follow the SDK examples?

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.html]http://www.adobe.com/devnet/acrobat/javascript.html[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

daka630
Expert
Registered: Mar 1 2007
Posts: 1420
Hi,
Just a note.
If the methodology is a "green board" there is another variable.
A PDF, with an embedded index, viewed in a browser supports neither "Find" nor "Search" using either Adobe Reader or Acrobat.
However, the same PDF without an embedded index supports "Find" and "Search" using either Adobe Reader or Acrobat.
(... something just learned via a trial run I just did )With that said, the "advanced" aspects of "Search" are predicated on use of a Catalog or Embedded index (as I understand it).

[url=http://daka630.com/bin01/embedded_index.pdf]PDF with embedded index[/url]

[url=http://daka630.com/bin01/noembedded_index.pdf]PDF without embedded index[/url]


Be well...

Be well...

giulio
Registered: Apr 14 2010
Posts: 4
Thanks for your reply

By using my programme you can put your pdf files into a specific folder.
When you need to do a research, select PDF Documents in ....... and then choose the path where the pdf files have been saved.
By AtiveX, this is not working. how can I work this problem out?

Thanks in advance.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You didn't address the issue brought up by daka630.

Do you have the Acrobat 9 SDK? in the IAC examples you'll find one named "ActiveViewVC". It's under the C samples but it will work for VB. Using the OpenInWindowEx function may be a much better way to do than using the ActiveX display.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.html]http://www.adobe.com/devnet/acrobat/javascript.html[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script