Programming Microsoft Outlook and Microsoft Exchange, Second Edition (DV-MPS Programming)

Using the Microsoft Script Debugger, shown in Figure 6-2, you can debug the VBScript you add to an Outlook application. You also use this debugger for Microsoft Active Server Pages, so learn to use it—it will assist you as you develop all your Exchange Server applications.

Figure 6-2 The Microsoft Script Debugger.

To use the Script Debugger, you must first install it. The Script Debugger is part of the Development Tools component in Outlook. You can add this component by running Add/Remove Programs for Outlook 98.

The Script Debugger can be launched in two ways. The first way is by inserting a Stop statement in your VBScript. When you run your form and the Stop statement is executed, the Script Debugger should automatically be launched. The second way is to launch it manually from a form that contains VBScript and is in run mode by choosing Tools/Forms and then Script Debugger.

The following list describes some of the common tasks you will want to perform with the Script Debugger:

Категории