🖥️ActiveHome Pro > SDK
Can't Create Object 'X10.ActiveHome'
(1/1)
kerrywnm1:
Hello,
I am trying to write a vbscript to turn on an ActiveHome Pro remote module.
In the script I have "Set myActiveHome = CreateObject("X10.ActiveHome")" . When executed I get the error - ActiveX component can't create object 'X10.ActiveHome'.
I have the AHSDK installed. Am I missing another library?
Thanks.
toasterking:
No, the SDK should be all you need. If it is properly installed, you should have these keys in your registry for the COM class registration:
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\X10.ActiveHome
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\X10.ActiveHome.1
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-2DEF-0001-10B6-DC5BA692C858}
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-2DEF-0002-10B6-DC5BA692C858}
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-2DEF-0103-10B6-DC5BA692C858}
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-2DEF-0105-10B6-DC5BA692C858}
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-2DEF-0208-10B6-DC5BA692C858}
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-3DEF-0101-10B6-DC5BA692C858}
* HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{001000AF-3DEF-0910-10B6-DC5BA692C858}If you are on 64-bit Windows then the latter 7 will be under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\...
If these keys don't exist in your registry, the SDK is not properly installed and you will get that error.
m82a1pa:
If you are using an x64 operating system, the ahp.dll needs to be manually registered before vbscript can access the objects.
If this is the case, follow the steps here: https://www.opensourceautomation.com/phpBB3/viewtopic.php?f=4&t=307
toasterking:
--- Quote from: m82a1pa on December 03, 2017, 08:09:05 PM ---If you are using an x64 operating system, the ahp.dll needs to be manually registered before vbscript can access the objects.
--- End quote ---
Interesting. One of my machines is running Windows 8.1 Pro x64, and with the version of the ActiveHome SDK released 5/16/2011, I did not need to do that. I have not tried with the 2009 release, though.
m82a1pa:
I should have mentioned I'm running Windows 7 x64 which required it.
Navigation
[0] Message Index
Go to full version