Re: What's a good IDE for VBScript

From: Michael Harris \(MVP\) ("Michael)
Date: 02/11/05


Date: Thu, 10 Feb 2005 17:25:38 -0800

ScottFenstermacher wrote:
> Sorry for the late addition to this thread...
>
> If you have Microsoft Office installed, look for a file called
> MSExx.exe (where xx is the version of Office). This is the Microsoft
> Script Editor, and assuming you did a full install of Word you should
> have it.

In case it isn't installed (comes with all Office 2000/XP/2003 apps)...

To install the optional Microsoft Script Editor
--> Add/Remove programs, <your Office 2000/XP app>
--> change, add or remove features

then look under Office Tools -> HTML Source Editing -> Web Scripting.

With the Office XP version of MSE (MSE7.EXE), syntax coloring and
IntelliSense both work great right out of the box. It already knows about
js/vbs/wsf script extensions (I had to add the wsc extension manually).

You can also pass a file name via the command line when you start MSE7.EXE
and it will open the script in the editor (the mse.exe Office 2000 version
wouldn't accept a file name via the command line).

You can't start the debugger for WSH hosted script files via the Debug /
Start menu. But there is a 'View/Open With...' menu option. The Open With
dialog already had wscript.exe as an option.

You can add more 'View/Open With...' choices for:

wscript.exe //d --> which I named wscript (debug enabled)
wscript.exe //x --> which I named wscript (start in debugger)

and cscript.exe versions as well. The dialog complains (only a bit,
probably because of the switches) but lets you add them anyway.

What's really nice is that when you use these, you get a choice of debugging
in the current instance of MSE (where you're editing) or a new instance of
MSE or in any other available script debugger you may also have installed,
such as the various versions of VStudio.

-- 
Michael Harris
Microsoft MVP Scripting 


Relevant Pages

  • Re: KB911280 update problem
    ... Microsoft is working on an amended patch which will address this issue. ... Microsoft advises anyone affected by this to not install the patch and to ... That script is broken by the patch. ... He said he could not write a bug report ...
    (microsoft.public.windowsupdate)
  • Re: Whats a good IDE for VBScript
    ... my MSE7 doesn't seem to know about .vbs extensions at all. ... This is the Microsoft ... > To install the optional Microsoft Script Editor ...
    (microsoft.public.scripting.vbscript)
  • Re: Printer Install
    ... > I understand that you want to install the print driver automatically on ... > script will work or not, I offer a sample script for your convenience: ... > It is also your best internet to post to MSDN newsgroup, ... > Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: jscript development tool
    ... > I know microsoft provide a free jscript debugger tool-windows script ... To install the optional Microsoft Script Editor ... You can't start the debugger for WSH hosted script files via the Debug / ...
    (microsoft.public.scripting.jscript)
  • RE: minidump - thread stuck in device driver M (100000ea)
    ... Install microsoft debugging tools from ... Can you provide help from the piece of debugger log attached below? ... Microsoft Windows Debugger Version 6.8.0004.0 X86 ... Win32 error 0n2 ...
    (microsoft.public.windowsxp.help_and_support)