Error Handling with DOM

This section shows you how to perform error handling with Document Object Model (DOM) in C/C++ and JScript.

For DOMErrorHandling C\C++ example, you will need the following:

  • Microsoft XML Core Services (MSXML) SDK version 6.0. To download the MSXML 6.0 SDK, go to MSDN.

  • Microsoft Visual Studio 2008. To create DOMErrorHandling console application project follow the instructions in the Set Up My VisualC++ Project.

  • To add the source code and run your DOMErrorHandling C/C++ application, see DOMErrorHandling C/C++ example.

For DOMErrorHandling JScript example, you will need the following:

  • MSXML version 6.0. To download MSXML 6.0, go to MSDN.

  • Notepad and Windows Scripting Host. For instructions on how to create JScript application, see Set Up My JScript Project.

  • To add the source code and run your DOMErrorHandling JScript application, see DOMErrorHandling JScript example.

Show:
© 2014 Microsoft. All rights reserved.