HTA inside VBS...or other GUI options?
- From: taoberly@xxxxxxxxxxxxxx
- Date: 16 Jun 2005 23:28:11 -0700
Hello,
I'm new to VBS and trying to enhance a script I wrote by adding a small
GUI that can change settings within the script. I've already built the
GUI with CreateObject(InternetExplorer.application) and
document.open/document.write, but am finding that while this gives lots
of flexibility, it's hard to dumb IE back down to a simple Control
Panel-style window. I'd like to use some HTA options, but am finding
these are disabled unless I actually run it as an .HTA file...and I
can't do that since the script actually launches from an application as
a "VBS macro". Are there any tricks I haven't tried? While these
aren't all necessary (or even HTA-related), I am looking for ways to
1) Keep the window non-resizable, without creating visual corruption
2) Keep the window on top until the user either enters data or closes
it, which includes disabling the Minimize and Maximize buttons
3) Disable IE's F3/Search and other weird key combinations
4) Close the window with Escape.
I'm actually a bit surprised that Windows doesn't have a more
general-purpose GUI toolkit for scripts. :-( Are there any free
third-party solutions?
Thanks for any help,
Todd
.
- Follow-Ups:
- Re: HTA inside VBS...or other GUI options?
- From: mr_unreliable
- Re: HTA inside VBS...or other GUI options?
- Prev by Date: Remote Script Excution - doesn't work
- Next by Date: Multiple hidden form fields
- Previous by thread: Remote Script Excution - doesn't work
- Next by thread: Re: HTA inside VBS...or other GUI options?
- Index(es):