Hi,
I'm trying to send ir commands by using a vbs script that connects to the irtrans ocx.
I'm on Windows 7 64bit.
What I did:
- register the acitve x: from an elevated command prompt, I could register C:\Users\Gert\Desktop>regsvr32.exe "C:\Program Files\IRTrans\APIs\Active-X\IRTrans.ocx" with success.
- created a vbs file:
Set IRTrans = wscript.CreateObject("IRTransOCX.IRTrans", "IRTrans_")
IRTrans.ServerIP = "localhost"
IRTrans.Connect()
IRTrans.SendIR Cstr("harmony"), Cstr("receiver on")
set IRTrans = nothing
But I'm having an error on the first line saying "Cound not create object named IRTtransOCX.IRTrans", code 80040154.
I'll also tried running the vbs file as admin.
Any Idea what's causing the error?
thanks,
Gert