I have two HTAs. One that is run automatically and the other that should be opened by clicking a link in the first HTA.
When I put it a regular link (<a href...) it notifies on a security issue. To workaround this issue I did the following:
1. Created a Wshell script that will run the hta.
wshell.run("mshta.exe " & link)
2. In the link i created an Onclick event handler that calls the subroutine I created above.
Unforyunately, it creates an mshta.exe process but the hta itself does not display.
Any idea how to resolve this
By the way, I did the same thing to run a .chm file and it works fine.
Internet Explorer Development6