My QC VB Script does not work now that we are using Windows 7

  • Questions
  • My QC VB Script does not work now that we are using Windows 7
Question ID: 105354
0
0

We are getting the below ActiveX error message when trying to connect to ALM using VBScript. It started happening only after we upgraded to Windows 7 operating system. It was working fine on Windows XP operating system.

ActiveX component cant create object: TDApiOle80.TDConnection
Code: 800A01AD
Source: Microsoft VBScript runtime error

The above error is displayed when creating TDConnection "Set TDConnection = CreateObject("TDApiOle80.TDConnection") to connect to ALM.

Marked as spam
Posted by (Questions: 93, Answers: 6)
Asked on April 23, 2014 9:43 pm
31 views
Answers (2)
0
Private answer

Soapy,

I assume you DID already run REGISTER ALM CLIENT Add-In on your PC and also run the TD Connectivity add-in.

Are you by chance using 64-bit Windows 7?

If so, please remember that QC and it's API are 32-bit.

Use the command line to run the script with c:WindowsSysWOW64wscript.exe and it should work.

Example:
C:>c:WindowsSysWOW64wscript.exe ''C:mQCscript.vbs''

Marked as spam
Posted by (Questions: 3, Answers: 476)
Answered on April 23, 2014 9:46 pm
0
Private answer

@PT Barnum @Soapy Smith
Hi Barnum & Smith,

I have an excel macro developed in 32 bit version of Office. Now I want the same macro to run in the 64-bit version of office. How do I do that? I really need to open an excel file and run the vbscript as macro.
The macro is actually for fetching data from HP ALM tool. So for that i must login first. And thats where I am getting stuck.

The script must have to be executed from macro and not external vbs file.

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on June 15, 2017 7:21 am