AutoConnect Property
Syntax
CWDataSocket.AutoConnect
Data Type
Purpose
Indicates if the DataSocket connects to a data item as soon as the program is run.
Remarks
Setting this property programmatically has no effect. Set the URL, Connection mode, and Auto connect properties in the property pages at design time to automatically connect CWDataSocket to the data item when the program is run or the Web page is loaded. You do not have to call Connect or ConnectTo.
Like the Connect and ConnectTo methods, this property causes the control to generate the OnStatusUpdated event when the connection is made and the OnDataUpdated event when data is updated.