![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | WScript, HTAs, and Vista/7 Have people run into problems with WScript on Vista/7? I haven't used those systems very much, but recently I was writing an HTA that used WScript.Shell to write values to HKCU, on Win7 RC. If I use "On Error Resume Next" I get one of those strange messages that says the script should be stopped because it's causing IE to run slowly. (Also an irritating message. It doesn't actually give one a choice. It just keeps popping up until one agrees to stop the script.) If I comment out the error trap I find that the write fails with no errors. Yet when I switched the code to use WMIs StdRegProv it worked fine. (Permissions was not an issue.) So I'm wondering whether Vista/7 is limiting the usability of WSH in general, and if so, to what extent. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: WScript, HTAs, and Vista/7 On Oct 8, 11:16*am, "mayayana" <mayaXXy...@newsgroup> wrote: Quote: > * *Have people run into problems with > WScript on Vista/7? I haven't used those > systems very much, but recently I was > writing an HTA that used WScript.Shell > to write values to HKCU, on Win7 RC. If I use > "On Error Resume Next" I get one of those > strange messages that says the script should > be stopped because it's causing IE to run slowly. > (Also an irritating message. It doesn't actually > give one a choice. It just keeps popping up > until one agrees to stop the script.) > > * If I comment out the error trap I find that > the write fails with no errors. Yet when I switched > the code to use WMIs StdRegProv it worked > fine. (Permissions was not an issue.) > > * So I'm wondering whether Vista/7 is limiting > the usability of WSH in general, and if so, to what > extent. are some things that may not work. The biggest problem I have so far is dealing with UAC. Even if UAC is off, sometimes it still presents problems with the security model in general. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: WScript, HTAs, and Vista/7 Well, I have run stuff on Vista/7 without problems. I am sure there are some things that may not work. The biggest problem I have so far is dealing with UAC. Even if UAC is off, sometimes it still presents problems with the security model in general. Quote: > quirk in the specific code I was writing. If I remember correctly I was running as either standard admin or "real" admin at the time. But I also find that testing with permissions issues gets confusing quickly. |
My System Specs![]() |
| | #4 (permalink) |
| | Re: WScript, HTAs, and Vista/7 "mayayana" <mayaXXyana@newsgroup> wrote in message news:u3k59QOSKHA.504@newsgroup Quote: > > Well, I have run stuff on Vista/7 without problems. I am sure there > are some things that may not work. The biggest problem I have so far > is dealing with UAC. Even if UAC is off, sometimes it still presents > problems with the security model in general. Quote: >> > OK. Thanks. Maybe there was an as-yet-undiscovered > quirk in the specific code I was writing. If I remember > correctly I was running as either standard admin or > "real" admin at the time. But I also find that testing > with permissions issues gets confusing quickly. permissions do I have, and another function that returns what permissions are required for a specified object/property/method combination. -Paul Randall |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| demo RunAs for HTAs (and other filetypes) on Win7/Vista - feedback requested | VB Script | |||
| WScript.dll not working | VB Script | |||
| WScript.Echo | VB Script | |||
| HTA and Wscript.Sleep | VB Script | |||
| Vista and HTAs | Vista General | |||