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!

Call one .hta from another

Status
Not open for further replies.

grnzbra

Programmer
Mar 12, 2002
1,273
US
I have several .hta files and am trying to create another that will offer a selection of which ones to run. I have tried using links and that causes the "Run Save Cancel" box to appear.

How can I do this?
 
Download a copy of HTAHelpOmatic from Microsoft, it will give you the code you need for a button to execute code. Use WSHSHell.Run to execute MSHTA.EXE with the argument of the other HTA you want to launch.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top