Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Getting ActiveX error when creating an object    (Read 479 times)
mike gregg
User
*
Offline Offline

Posts: 35


« on: March 01, 2010, 03:01:43 PM »

I have an assignment to test .pdf forms for an application. As a start I am trying to open a .pdf file with the following code

___________________________________
Option Explicit

Dim gApp
Dim gPDDoc

'###  Create objects required for the test
Set gApp = CreateObject("AcroExch.App")
Set gPDDoc = CreateObject("AcroExch.PDDoc")

'###  Open a PDF Document

gPDDoc.Open ("C:\TestData\PerfOnVMware")


'###  Kill all created objects
Set gPDDoc = Nothing
Set gApp = Nothing

__________________________________________

For both Set statements I am getting the following message

"ActiveX Component Can't Create Object "AcroExch.App"

I have the Web, ActiveX and the new Adobe ToolKit selected as QTP Add-Ins. I beleive that the Adobe SDK is alos installed, though I need to check.

Any thoughts would be helpful

Thanks
Mike
Logged
Pages: [1]   Go Up
Print
Jump to: