SGML: Window Handle Error 5033 Saving with SaveAsSGML Macro

Last reviewed: August 5, 1997
Article ID: Q128000
The information in this article applies to:
  • Microsoft SGML Author for Word, version 1.0
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SYMPTOMS

When you attempt to save a document as SGML with the SaveAsSGML macro, you receive the following error message

   SaveAsSGML: Get Window Handle Error

with the following error number:

   5033

After you choose OK, the conversion completes, and the macro displays the feedback (*.FBK) and SGML (*.sgm) files.

CAUSE

Forms document protection was applied to the Word document. This error will appear whether Forms Protection was on when the document was saved or applied before you tried to save the document as SGML.

RESOLUTION

To correct this problem for a document saved with Forms Protection on, choose Unprotect Document from the Tools menu and choose Save from the File menu before you use the SaveAsSGML macro.

STATUS

Microsoft has confirmed this to be a problem in SGML Author version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: 1.0 sgmlword 6.0 6.0a 6.0c winword
word6
Keywords : kbformat kbsgml kbinterop
Version : 1.0 6.0 6.0a 6.0c
Platform : WINDOWS
Issue type : kberrmsg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.