Brian
Many thanks...that did it...guess I haven't been keeping up on the new vs old modules.
While I have your attention, can I ask about another problem I have?
I wrote a Visual Basic program to send and receive X10 commands from my computer. Once again, this runs fine on XP and Visual Studio 2008. Basically I create an ActiveHome object using
ActiveHomeObj = CreateObject("X10.ActiveHome")
Then issue an X10 command using
ActiveHomeObj.SendAction("sendplc", "m1 on")
and receive commands using RecvParm
When I run this same program with Visual Studio 2008, Visual Basic Express I get "Cannot create ActiveX component" at the ActiveHomeObj = CreateObject("X10.ActiveHome") line. I have tried running Visual Basic Express as Administrator with no difference.
I hope the fix to this is a simple as the module!
Thanks
John