Step 4: Compiling the SimpleSample DLL (Visual Basic 6.0 Tutorial) [Office 2003 SDK Documentation]
Previous Step 3: Create the SimpleSample DLL
Use the following steps to compile your SimpleSample DLL in Microsoft Visual Basic 6.0 ®.
- On the File menu, click Make SimpleSample.dll. (This may say Make Project1.dll if you didn't rename your project to SimpleSample in the Project Properties dialog box.)
- In the Make Project dialog box, use the Save in option, and then navigate to your SimpleSample project folder.
- Enter "SimpleSample.dll" into the File name box if it isn't already there.
Troubleshooting
If you get errors during the compile process, use the following to help you troubleshoot.
- Make sure you have added a reference to the Microsoft Office Smart Tag 2.0 Type Library.
- Make sure your code matches the code in the SimpleSample Smart Document Code Module.
- Make sure that you have added all properties and methods of the ISmartDocument interface, even if they are unused (as described in step 7 of Creating the Smart Document DLL).
Note If you have verified these items and continue to get errors, see the Testing and Troubleshooting section.
Next Step 5: Create the SimpleSample XML Expansion Pack Manifest