Hello
Looks like your trying to setup early binding of the control. Try this
Go to Project >> Components and remove the reference to CW Datasocket. This will remove the control from the controls toolbar. Now go to Project >> References, and add a reference to nids.dll from your system32 folder. The reason you had to remove it from the components list was because VB 6 does not let you add the same component as a reference and a component. And to use early biding, you need to add the activex control as a reference
I replaced the call to createobject with
Set m_ds = New CWDSLib.CWDataSocket
Try running the app again. It got rid of the runtime error for me
Hope this helps
Bilal Durrani
NI