Step 6: Testing and Troubleshooting the SimpleSample Smart Document (Visual C++ Tutorial) [Office 2003 SDK Documentation]

Previous   Step 5: Creating the SimpleSample XML expansion pack manifest file

After you finish creating the SimpleSample smart document, but before you deploy it, you should test it to make sure all the logic for the smart document functions as expected.

  1. Run the DisableManifestSecurityCheck.reg file that you created earlier to temporarily disable security checking for XML expansion packs. You can do this by double-clicking it in Windows Explorer.

    Note  You can later re-enable security checking for XML expansion packs, but for testing purposes you will need to run this file in order to test smart documents that access unsigned XML expansion packs and supporting files. For more information, see Security and Privacy.

  2. Start Microsoft Office Word 2003 and open the SimpleSample.doc smart document from the project folder. This is the folder where you saved your project files earlier.

  3. Attach the simplesample.xsd, if necessary, and attach the XML expansion pack. The host application should display the Document Actions task pane.

For more testing and troubleshooting tips, see Testing and Troubleshooting.

Next  Step 7: Deploying the SimpleSample smart document