Disable JIT debugger when using ScriptControl
From: TomS (anonymous_at_discussions.microsoft.com)
Date: 03/29/04
- Next message: RedJoker: "Re: Help! Corrupt Form in VB6"
- Previous message: MikeD: "Re: Treeview disable ShowTips"
- Next in thread: TomS: "RE: Disable JIT debugger when using ScriptControl"
- Reply: TomS: "RE: Disable JIT debugger when using ScriptControl"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Mar 2004 05:06:09 -0800
I'm using the ScriptControl component to execute a VBscript.
If I have the script debugger installed and enabled and the VBscript has an error,
then the user gets the option to look at the VBscript in the debug window.
If I disable the debugger by setting registry key
HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug = 0
or by deleting the key, then I don't get the debug popup.
BUT....
The ScriptControl is in an activeX control I am invoking from a VBscript,
so I have A.vbs calls myAX.method
which creates a ScriptControl and uses it to execute B.vbs.
Before calling the ScriptControl.ExecuteStatement method, myAx resets the registry key, but I still get the debugger.
Is therre a way to disable the debugger when running a script using the ScriptControl component?
[If this isn't the correct forum, can you point me at the right place please?]
Ta,
Tom.
- Next message: RedJoker: "Re: Help! Corrupt Form in VB6"
- Previous message: MikeD: "Re: Treeview disable ShowTips"
- Next in thread: TomS: "RE: Disable JIT debugger when using ScriptControl"
- Reply: TomS: "RE: Disable JIT debugger when using ScriptControl"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|