1. | 启动记事本。 | ||||
2. | 以下代码添加到记事本文件。<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <?mso-solutionextension URI="SimpleSample" manifestPath="manifest.xml"?> <example xmlns="SimpleSample"> <textbox> TextBox </textbox> <commandbutton /> <help /> <radiobutton /> <checkbox /> <listbox> ListBox </listbox> <image /> <documentfragment /> <activex /> <hyperlink /> </example> | ||||
3. | 保存记事本文件作为 DocumentMap.xml。 请将 DocumentMap.xml 文件包含 SimpleSampleVB6 文件文件夹中。 默认情况下, 该文件夹的路径是 C:\ProgramFiles\Common Files Office 2003 开发 Resources\Microsoft Office 2003 智能文档 SDK\Samples\SimpleSampleVB6。 | ||||
4. | 关闭记事本。 | ||||
5. | SimpleSampleVB6 文件夹中找到 DisableManifestSecurityCheck.reg 文件。 双击要添加注册表项禁用安全清单检查 DisableManifestSecurityCheck.reg 。 | ||||
6. | 启动 Word。 | ||||
7. | 使用相应方法:
| ||||
8. | 打开 文档结构图 视图。 要这样做, 使用相应方法:
| ||||
9. | 在 XML 文档窗格中, 单击 简单示例文档示例 - VB 6 链接。 可能会收到 " 症状 " 部分中所述错误信息。 |
相关文章
同类最新