x10 Active Home AHSCRIPT.exe (1 Viewer)

technottommy

New Member
July 26, 2008
3
0
Home Country
United States of America United States of America
Hello:

Here is a bit of a toughy. We have created a software program that uses x10 technology using VB6. We used the Active Home SDK for development with our CM19A. In order for us to redistribute our software to other users, they need to install ahscript.exe, or our software won't work. It is not enough to simply put ahscript.dll in the system32 directory and run the regsvr32 on it. There is some other file/dependancy that is needed.

So the question is this: What files is ahscript.exe installing that we could emulate with our own package and deploy when creating the setup.exe? We are very knowlegeable in this field, so feel free to get technical with your answer.

If there isn't a list of what ahscript.exe is doing so that we could duplicate it, is there a 3rd party plugin (dll or ocx) that is not the active home .lib that we could develop into our software?

We are only using the CM19A USB transceiver and KR19A transmitters.

Thank you so much in advance for your answer!!!!! :D
 

technottommy

New Member
July 26, 2008
3
0
Home Country
United States of America United States of America
Hello Triton T:

Thank you for the quick response. The reason why we haven't used the CM19A USB Wireless Transceiver ActiveX Control (in your link above) is because it doesn't appear that it receives commands. It appears to only send commands. In our case, we need to be able to receive commands from x10 devices like their ley remotes. We have been successful with the Active Home SDK and the ahscript.dll, but not wiht the above link. If there is something that I am missing and/or over looking, please advise accordingly. Is there any documentation that you might have for the link above with regards to receiving data?

I really do thank you in advance for your thoughts!!!!
 

TritonT

Portal Pro
October 23, 2006
103
62
Home Country
United Kingdom United Kingdom
Hi,

I was pretty sure the ActiveX was bi-directional. Unfortunately I don't have any documentation and I can't test it for you - there is no European version (433mhz). However, I do have a way for you to test it.

The CM19A is one of dozens of devices that can be made to speak the xAP protocol. xAP is a standard open protocol to allow integration of telemetry and control devices across IP networks.

Michael McSharry has written an xAP Connector for the CM19A using the very same ActiveX Control it is available here and is supported here. You will also require a xAP Hub such as the one here and a Message Viewer available on the same page.

Once you got that running you can fire the remote at the CM19A and see if the messages appear in the xAP Message Viewer.

You might also want to have a look at the xAP implementation for MediaPortal in this thread.
 

technottommy

New Member
July 26, 2008
3
0
Home Country
United States of America United States of America
Hello Triton:

Thank you for your quick reply. However the above method kind of takes us in a wrong direction for our discovery purposes. I am willing to sweeten the pot a bit for someone's assistance. I am willing to PayPal $100 (US) to anyone who can answer 1 of the 3 questions below:

1. What does ahscript_setup.exe install that makes our software work? We have designed a utility using VB6 that uses the Active Home Library (SDK) which uses the ahscript.dll. Our software does not install on a "virgin" machine unless the ahscript is installed first. What is the ahscript installing that we could emulate in our setup.exe so that users of our software could simply install our software, and it actually work, without having to install the ahscript_setup.exe. When our custom software is installed, the instillation process fails on the regsvr of ahscript.dll (a necessary step in the chain). When the ahscript_setup.exe is installed first, then our custom application installs with out any problems.

or

2. Is there another active x control that we could use instead of the active home library/SDK that is capable of reading data from the CM19A. We could then read the data from the device and trigger events in our software.

or

3. Does any one have any documentation or VB6 example code for the CM19A USB Wireless Transceiver ActiveX Control found at CM19A USB ActiveX Component. The documentation on the site is helpful for sending data, but does not provide any of the OCX's parameters for reading incoming data with the CM19A.

I hope that my above offer is not a misuse of the forum, and please accept my apologies if it is.

Any interested parties in my offer please call me 701.710.0034. I will immediately call back so as to not cost anyone long distance phone charges.

Thank you tons!!!
 

Users who are viewing this thread

Top Bottom