Autor Beitrag
Delphi Noob
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

win xp
D6 Enterprise
BeitragVerfasst: Fr 15.07.05 17:46 
Hallo ich wollte mal fragen ob es möglich wäre mit Hilfe von Delphi ein Pdf Dokument nach Nummern zu durchsuchen(in meinem Fall Telefonnummern aus meiner Telefonrechnung)
und diese dann zählenzulassen
Damit ich dann eine Tabelle hätte wie oft ich welche nummer angerufen hab.


Moderiert von user profile iconraziel: Topic aus Sonstiges verschoben am Fr 15.07.2005 um 19:10
Semi
Hält's aus hier
Beiträge: 11



BeitragVerfasst: Do 21.07.05 13:06 
How To Use Adobe Acrobat (PDF) Files in a Delphi Application
From Zarko Gajic,
Your Guide to Delphi Programming.
FREE GIFT with Newsletter! Act Now!


Let's see how to to show an Adobe Acrobat (.PDF) file in a Delphi application. All you need to do is the Acrobat ActiveX control (pdf.ocx and pdf.tlb), which you you can get for free from Adobe.
Difficulty: Easy

Time Required: 5 minutes

Here's How:
1. Start Delphi and select Component | Import ActiveX Control...

2. Look for the 'Acrobat Control for ActiveX (Version x.x)' and simply click on Install.

3. Select the Component palette location in which you want to place selected library.

4. Maybe the best is to leave the ActiveX option selected.

5. Click on Install.

6. Select a package where the new component must be installed or create a new package for the new TPdf control.

7. Click on OK.

8. Delphi will prompt you whether you want to rebuild the modified/new package or not.

9. Click on Yes.

10. After the package is compiled, Delphi will show you a message saying that the new TPdf component was registered and already available as part of the VCL.

11. Close the package detail window, allowing Delphi to save the changes to it.

12. The component is now available in the ActiveX tab (if you didn't change this setting in step 4)

13. Drop the component on a form.

14. Select the TPdf component you just dropped on a blank form.

15. Using the object inspector, set the src property to the name of an existing PDF file on your system. Now all you have to do is resize the component and read the PDF file from your Delphi application.

Tips:
If you do not have the Acrobat ActiveX control, download it now! It will be required for tip to work.
Last step (Step 15) can be done in runtime, so you can open and close files programatically, as well as resize the control.
beierplus
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Do 28.07.05 19:34 
He? War das jetzt ne Antwort auf die Frage? Ich glaube er/sie wollte nicht wissen, wie man PDFs anzeigt, sondern wie man sie durchsucht. :idea: