The “Microsoft (r) Windows Based Script Host” entry in the Recommended Programs
group on the Open With dialog runs the script, rather than opening it for editing.
Curiously, the MSE is not shown in either the Recommended Programs or Other Programs group
in the Open With dialog (shown in Figure 17.4), so you need to browse for it in the C:\Program
Files\Common Files\Microsoft Shared\OFFICE12\ folder.
FIGURE 17.4
The Open With dialog for selecting the program to use when opening a VBS file.
Figure 17.5 shows the MSE executable being selected in the Open With... Browse dialog.
Back on the main Open With dialog, Microsoft Script Editor is now visible in the Other Programs
group, and you can select it and click OK to open the script in the MSE. After selecting MSE7.EXE
as the file to use when opening a VBS file, you will see the MSE as a selection on the Open With
menu (Figure 17.6).
NOTENOTE
Part III Adding More Functionality to Office