guys ... ecpro.ocx (exact control pro) is one of the easiest ocx's to crack... i am not into distributing cracked source.. but it took about 10 minutes to remove the copy protection , that looks for the .lic file, and remove the 14 day time limit..
so for you guys out there that need a week or 20 more "testing time" get out the ol hex editor and play with some of the jnz.... :)
once you see how well there code actualy works, then go and pay the dewds who wrote it,,, it is actualy a very well written ocx.
and to at least add to the topic at hand..
to the original poster .. register the ocx (or at least install it)
then open a form, drop the control on the form. in the form open event :
HomeControl.Interface = "CM11" HomeControl.CommPort = 1 ' if it's connected to comm 1 HomeControl.StartComm 0, True
then say on a command button HomeControl.SendCommand("A","1",3)
this would send a command on to unit code 1 on house code a
read the help file for all the function codes... u can turn on , off dim , bright set clock , load / erase macros
pretty much all you will ever need to control the cm11 in VB