title: Opening HTA file from another HTA file
body: <p>Alright, so I am creating a simple program that should, when you click the link open another .HTA file. For example: </p>
  
  <pre><code>Sub RunProgram 
      Const NORMAL_WINDOW = 1
      Set objShell = CreateObject("Shell.Application")
      objShell.ShellExecute "explorer.exe", "Virus_Support.hta", , , NORMAL_WINDOW
   End Sub
  </code></pre>
  
  <p>Then later on...</p>
  
  <pre><code>&lt;body&gt; 
  &lt;button onclick="RunProgram"&gt;Run Program&lt;/button&gt; &lt;p&gt;
  &lt;/body&gt; 
  </code></pre>
  
  <p>However, it returns a 'Variable is undefined: objShell' error. I am trying to get virus_support.hta to open up from the SupportMain.hta file...not on IE or any browser.</p>