Developer Documentation Library > Data Model > Extending the UNICOM Intelligence Data Model > Creating a Metadata Source Component (MDSC) > Creating an MDSC in Visual Basic
 
Creating an MDSC in Visual Basic
1 Register the MDSC.dll, which comes with the UNICOM Intelligence Developer Documentation Library. By default, MDSC.dll is in the [INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Code\DSCs\VB6\MDSC folder.
2 If you want a stand-alone MDSC, create a new ActiveX DLL project in Visual Basic. Omit this step if you want to add MDSC functionality to an existing Visual Basic DLL project, such as a Visual Basic CDSC.
3 In the Visual Basic project, create a reference to the UNICOM Intelligence MDSC type library. Click Project > References, click UNICOM Intelligence MDSC Type Library from the list of type libraries, and then click OK.
4 Create a new class in the project, and then add Implements MetadataLoad to it.
This generates the stub for MetatdataLoad_LoadMetadata().
The project is now ready for you to add the code that is required to populate the MDM Document with your proprietary metadata.
See also
MDSC interface
Populating the MDM Document
Creating a Metadata Source Component (MDSC)
Creating an MDSC in Visual C++
Working with the Metadata Model
Adding registration support to a DSC