3 adding a control to a .net project – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 16

Advertising
background image

Section 1. LoggerNet SDK Overview

5. A confirmation message similar to one below will appear. Click on

Yes.

6. A new window titled Information (not shown) will appear informing

you that the package has been installed.

7. Finally you will be asked to save the changes. Click on Yes.

8. Follow the same procedure to obtain the other two ActiveX controls

as icons on the ActiveX palette in Delphi.

1.3.2.3 Adding a Control to a .NET Project

ActiveX controls are imported using the COM Interop wrapper capability in
the .NET development environment. This importing should happen
automatically when the ActiveX DLL is referenced in the project.

1. From the Project menu item choose "Add Reference".

2. Find and select the SDK component to import (e.g. CsiBrokerMap 1.0

Type Library) under the COM tab.

3. Add the component to the project form.

1-4

Advertising