Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Does the DataSocket 4.0 Control Not Appear in My List of Selectable Registered Components in Visual Basic or Visual C++?

Primary Software: Other NI Software>>DataSocket
Primary Software Version: 4.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: There is no selection for the DataSocket 4.0 control in the Components dialog in Visual Basic or the ActiveX control adding dialog in Visual C++, even after properly installing ComponentWorks.

Solution: The file that describes the object to the COM system on your operating system is probably not registered. This file is the "nids.dll", which may sound confusing, because cwds.ocx is the ActiveX control file for the component. Nonetheless, the nids.dll file contains the DLLRegisterServer entry point for registering the control on your system. If you try registering the cwds.ocx file with regsvr32.exe, you will get an error message saying the "DLLRegisterServer entry point could not be found." To make the selection for the DataSocket control show up in Visual Basic or Visual C++, you should go to Start ยป Run and type in the following:
    On Windows 9x: "regsvr32 c:\windows\system\nids.dll" On Windows NT and 2000: "regsvr32 c:\winnt\system32\nids.dll"
After you do this successfully, the control's selection should now show up in the list as "National Instruments CW DataSocket 4.0".

Related Links: Measurement Studio for Visual Basic (ComponentWorks) Support
KnowledgeBase DIRECT-45F2DG: What Is DataSocket and When Would I Want to Use It?

Attachments:





Report Date: 04/25/2001
Last Updated: 11/30/2004
Document ID: 28OAQKEV

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit