Creating an MDSC in Visual Basic
This topic describes the steps that you need to take to create a read-enabled MDSC in Visual Basic.
1 If you have not already done so, register the MDSC.dll, which comes with the UNICOM Intelligence Developer Documentation Library. By default, MDSC.dll is installed into 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. You do this by choosing References from the Visual Basic Project menu, and then selecting UNICOM Intelligence MDSC Type Library from the list of type libraries and clicking OK.
4 Create a new class in the project and add Implements MetadataLoad to it.
This will generate 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