Echelon OpenLDV User Manual Page 133

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 132
OpenLDV Programmer’s Guide 125
interface ILdvxConfigure; // add to coclass SampleLookupCsv
Add additional private methods and properties to your
ISampleLookupCsv interface, or remove it if it is not used.
Creating a Custom Lookup Extension in Visual
Basic
This section describes the procedure for creating the framework for a custom
lookup extension component in Visual Basic using Microsoft Visual Studio 2008.
Use a similar procedure for Microsoft Visual Studio 2010, or later releases.
Prerequisite: You must install the OpenLDV 4.0 SDK and Microsoft Visual
Studio 2008 SP1 (or later).
To create the framework for a custom lookup extension component using
Microsoft Visual Studio 2008, perform the following tasks:
1. Start Microsoft Visual Studio
2. Create a new Class Library project
3. Add a reference to the Echelon OpenLDV xDriver 1.0 Type Library
4. Add a COM class
5. Delete the default project class, Class1.vb
6. Import xDriver types to your System namespace
7. Implement the ILdvxLookup interface
8. Build and register the COM server
9. Create a custom xDriver profile
10. Test the lookup extension
11. Rebuild and re-register the COM Server
12. Retest the lookup extension
13. Optionally, add implemented ILdvxLookup interfaces to the sample
component’s type library
14. Optionally, add additional private methods or properties to the
ISampleLookupCsv interface
The following sections describe these tasks in more detail.
Create a New Visual Studio Project
From the Visual Studio main window, select File New Project to open the
New Project dialog, as shown in Figure 28 on page 126.
Page view 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 193 194

Comments to this Manuals

No comments