Externel Control Password issue in VB
Posted: Wed Mar 08, 2006 12:31 pm
Hi!
I build my own HVAC control interface using I/O card, some circuit and VB librairy. I would like to link my program to House Bot using the External Control dll.
I created a Device in HB using the External Control device, set a port and a password. Using the same Port and password value, I can connect using the doConnect function in VB. The return value is "OK". When I try to write the temperature property of my device, I see and Invalid Password error message in HB text box on the main screen. I double checked and password and port are good.
Example:
Dim srvHouseBot As HBControl
Dim sHB As Variant
Set srvHouseBot = New HBControl
sHB = srvHouseBot.doConnect(1234, "192.168.1.3", "hvac")
srvHouseBot.SetPropertyValue "Fournaise", "Temperature", Str(Signal(1))
Set srvHouseBot = Nothing
Thanks!
I build my own HVAC control interface using I/O card, some circuit and VB librairy. I would like to link my program to House Bot using the External Control dll.
I created a Device in HB using the External Control device, set a port and a password. Using the same Port and password value, I can connect using the doConnect function in VB. The return value is "OK". When I try to write the temperature property of my device, I see and Invalid Password error message in HB text box on the main screen. I double checked and password and port are good.
Example:
Dim srvHouseBot As HBControl
Dim sHB As Variant
Set srvHouseBot = New HBControl
sHB = srvHouseBot.doConnect(1234, "192.168.1.3", "hvac")
srvHouseBot.SetPropertyValue "Fournaise", "Temperature", Str(Signal(1))
Set srvHouseBot = Nothing
Thanks!