WD2000: Error Message When You Run Code Sample to Export Word Document to XML (300271)
The information in this article applies to:
- Microsoft Word 2000
- Microsoft Word 2002
This article was previously published under Q300271 SYMPTOMS
When you run the Microsoft Office Code Sample - Export a Microsoft Word Document to XML, you may receive one of the following error messages:
Memory exception
-or-
Unregistered OCX
CAUSE
This issue occurs because some of the components necessary for the program to run are missing, outdated, or older than the ones used to compile the VB project.
RESOLUTION
To resolve this issue, open the VB Project in Microsoft Visual Basic and recompile the executable file. To do this, follow these steps:
- Start Microsoft Visual Basic 6.0.
- Open the Word2XML.vbp project.
- Run the program from within Visual Basic.
- Recompile the executable file by choosing Make Word2XML.exe on the File menu.
- Close Visual Basic and run the new executable file.
NOTE: Instructions for running this utility also are available in the WordXMLdefault.htm file that is downloaded with the executable file.
Modification Type: | Major | Last Reviewed: | 6/13/2001 |
---|
Keywords: | kberrmsg kbprb KB300271 |
---|
|