Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTA Security Warning from MHT

Status
Not open for further replies.

cwsstins

MIS
Aug 10, 2004
412
US
I've got an HTA that I would like to be able to run from a .mht file. This is for a prototype of an application that I would like to demo to my co-workers. All the files are local to my machine. However, when I attempt to run the HTA from the web browser, I'm still getting security warnings.

If I set up the .mht with vbscript to launch the HTA onload, it throws an ActiveX message and even when I click Yes, it doesn't load the HTA. When I simply put a hyperlink on the .mht page, it throws the standard HTA warning with 3 options (Run, Save, Cancel).

Any suggestions on how to invoke the HTA with no warnings?
 
Thanks for the response. I tried that to no avail. Now it produces a band at the top of the browser, indicating to click to run the ActiveX control. But since this whole thing is for demo purposes only, I have just created another vbs file to launch the main HTA and will run that from a shortcut on the taskbar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top