Computing.Net > Forums > Programming > hta window

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

hta window

Reply to Message Icon

Name: fcarstens
Date: October 5, 2009 at 07:48:55 Pacific
OS: Windows Vista
Subcategory: General
Comment:

I have an .hta file and at some stage I added a window.close().
Then the window closed prematurely (I probably didn't understand the command correctly).
Now whenever I run the hta, it doesn't popup. It runs "invisibly".
Problem is.. I need to select stuff and submit from the hta before it will execute the next command, but because it doesn't popup I can't do my selections.

Let me know if I need to attach the file.
Thanx in advance!
Fran



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: October 6, 2009 at 05:24:31 Pacific
Reply:

Can you edit out the window.close()?


=====================================
Helping others achieve escape felicity

M2


0

Response Number 2
Name: Razor2.3
Date: October 6, 2009 at 10:03:01 Pacific
Reply:

A few things you can try:
- Since HTA's are rendered by IE, make sure all instances of iexplore.exe and mshta.exe are terminated. This is especially important if you have some popup blocker installed.
- Use JScript/VBScript to resize and reposition the window
- Make sure the WINDOWSTATE property isn't MINIMIZE

If those don't do it, I'd need to see what your script was doing.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: hta window

VBS runs prog,display msg when done www.computing.net/answers/programming/vbs-runs-progdisplay-msg-when-done/16044.html

program handle windows/IIS reboot www.computing.net/answers/programming/program-handle-windowsiis-reboot/14744.html

Linux vs windows www.computing.net/answers/programming/linux-vs-windows/1614.html