Hi All,
         I am getting error "ActiveX component Cant create object: 
'AcroExch.App'. I have used the below lines to open the PDF file and my 
intention is to read data from PDF and compare it with DB values.

& i have installed Acrobat Reader 9 and QTP 11.0 in my machine.

Dim pdfFile,Acroapp,pdf
'PDF File preparations
'Set AcroApp = New AcroExch.App
Set Acroapp = CreateObject("AcroExch.App")
Set pdf = CreateObject("AcroExch.PDDoc")
'pdf.Open filename,"temp"
pdf.Open "D:\Req1_file.PDF"
Set pdfFile = pdf.GetPDDoc
GetPDFPageCount = pdfFile.GetNumPages

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to