Hi,
I am trying to use the acrobat reader to read and view the pdf file. When I am using the acroPDF it works fine except it doesn't have the function of searching text (that opens the search panel and do the search).
I have tryed objects like AcroExch.AVDoc but it can't create the type defenition of it and it said that a class doesn't registered. I checked it in registry. It doesn't exist there. Here the example of code:
<code>
// Create an Acrobat Application object
Type AcrobatAppType;
AcrobatAppType = Type.GetTypeFromProgID("AcroExch.App");
Acrobat.CAcroApp oAdobeApp = (Acrobat.CAcroApp)Activator.CreateInstance(AcrobatAppType);
// Create an Acrobat Document object;
Type AcrobatPDDocType;
AcrobatPDDocType = Type.GetTypeFromProgID("AcroExch.PDDoc");
Acrobat.CAcroPDDoc oAdobePDDoc = (Acrobat.CAcroPDDoc)Activator.CreateInstance(AcrobatPDDocType);
// Create an Acrobat AV Document object;
Type AcrobatAvType;
AcrobatAvType = Type.GetTypeFromProgID("AcroExch.AVDoc");
Acrobat.CAcroAVDoc oAdobeAVDoc = (Acrobat.CAcroAVDoc)Activator.CreateInstance(AcrobatAvType);
</code>
I have also tryed to use IEBrowser control and sending to it the ling with parameters. It works on some computers. In some cases it doesn't show the search panel but showing the PDF file. In some cases it doesn't show the PDF file and give me a not find file message.
So I need the control of viewing PDF and I need to send to this control that starts serching and show all results.
Can somebody suggest me the solution of this?
Thank's
Alexei