bdtmike
Sat Jan 17 22:41:13 CST 2004
"Michael Harris \(MVP\)" <<mikhar at="mvps.org" />> wrote in message news:<#l7H$SL3DHA.2056@TK2MSFTNGP10.phx.gbl>...
> Mike Dwyer wrote:
> > Is there a registry setting that can enable/disable the script host?
> > I have an app written in VB6 that uses the Script Shell object to run
> > some things. On some of my apps they have scripting turned off. I'd
> > like to turn it on via code so that I can use the scripting object.
>
>
> As of WSH 5.6 ...
>
> HKEY_LOCAL_MACHINE
> \SOFTWARE
> \Microsoft
> \Windows Script Host
> \Settings
>
> named value: Enabled [REG_SZ]
>
> "1" = enabled
> "0" = disabled
>
> --
> Michael Harris
> Microsoft.MVP.Scripting
>
> Windows 2000 Scripting Guide
> Microsoft® Windows®2000 Scripting Guide
>
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp
>
Bingo! That did it. Thanks a lot.