Hello All!!
I have an application which I am trying to connect via an IP address and port number. I have been trying to use WINSOCK control, but when I get to createobject I get an error "429:ACtive X component can't create object."
I have been working with Igor's sample from "'http://www.ostrosoft.com/oswinsck/oswinsck_vba.asp" example, but at the point of creating the object "Set wsTCP = CreateObject("OSWINSCK.Winsock")" the code fails with the error code 429.
I have the ostrosoft winsock component registered and active in the available references within vba.
What alternatives could I use for connecting to a device and sending a command and waiting for a response?
Basically I am trying to connect to the IP Address: 192.168.3.44 Port Number 10001.
Once connected I need to send a "read?" command and capture its response "12.0,45.0"
A telnet session executed from the command prompt works fine. I would just like to automate this a little better with a form front end to display the response.
Anyone have any insight whether the "winsock" control in Windows 7 Profession 64 bit can be made to work? Is there better tools available to accomplish a connection?
Thank you in advance..
John
I have an application which I am trying to connect via an IP address and port number. I have been trying to use WINSOCK control, but when I get to createobject I get an error "429:ACtive X component can't create object."
I have been working with Igor's sample from "'http://www.ostrosoft.com/oswinsck/oswinsck_vba.asp" example, but at the point of creating the object "Set wsTCP = CreateObject("OSWINSCK.Winsock")" the code fails with the error code 429.
I have the ostrosoft winsock component registered and active in the available references within vba.
What alternatives could I use for connecting to a device and sending a command and waiting for a response?
Basically I am trying to connect to the IP Address: 192.168.3.44 Port Number 10001.
Once connected I need to send a "read?" command and capture its response "12.0,45.0"
A telnet session executed from the command prompt works fine. I would just like to automate this a little better with a form front end to display the response.
Anyone have any insight whether the "winsock" control in Windows 7 Profession 64 bit can be made to work? Is there better tools available to accomplish a connection?
Thank you in advance..
John