title: VBS (Visual Basic Script) Run Program hidden/invisible
body: <p>I am trying to run a program (In this case Internet Explore) hidden/invisible from a VB script.</p>
  
  <p>I found a simple script for making batch files hidden, and tried it. It didn't seem to work as the program just popped up as normal.</p>
  
  <p>Here is my code so far:</p>
  
  <pre><code>CreateObject("Wscript.Shell").Run "iexplore.exe",0,True
  </code></pre>
  
  <p>This runs the program iexplore.exe, but doesn't run it hidden/invisible.</p>
  
  <p>I am also running this VBS file from a batch file which is hidden.
  The batch file simply does:</p>
  
  <pre><code>start Run.vbs
  </code></pre>
  
  <p>Codes of each script/batch file:</p>
  
  <p><strong>Batch File: Main file launching VBS file</strong></p>
  
  <pre><code>@echo off
  :start
  start HideExecuteServerVBS.vbs (To Hide the ExecuteServerVBS.bat file when running)
  timeout /NOBREAK /T 5
  TASKKILL /IM iexplore.exe
  timeout /NOBREAK /T 3
  TASKKILL /IM iexplore.exe /F
  timeout /NOBREAK /T 1800
  goto start
  </code></pre>
  
  <p><strong>HideExecuteServerVBS.vbs</strong></p>
  
  <pre><code>CreateObject("Wscript.Shell").Run "ExecuteServerVBS.bat",0,True
  </code></pre>
  
  <p><strong>ExecuteServerVBS.vbs</strong></p>
  
  <pre><code>@echo off
  C:\Windows\sysWOW64\csript.exe C:\Users\Admin\RunInternetProcess\vbscript.vbs
  </code></pre>
  
  <p><strong>vbscript.vbs</strong></p>
  
  <pre><code>Set ie = CreateObject("InternetExplorer.Application")
  </code></pre>
  
  <p>Is there a possible way to run a program invisible through a VB Script (Visual Basic Script)?</p>