title: Automation Server can't create object in IE8 after including condition for chrome
body: <p>Previously i was doing</p>
  
  <pre><code>    &lt;script&gt;
      function fun1(){
         var sh=new ActiveXObject("Wscript.Shell");
         sh.run("\\\\ntbot\\my.exe");
      }
      fun();
      &lt;/script&gt;
  </code></pre>
  
  <p>there is no problem with this code. it happily execute exe on client machine from IE, to run same from chrome i written applet, and from that i am runing exe. so code changes i done are</p>
  
  <pre><code>&lt;scipt&gt;
      function testCSS(prop) {
          return prop in document.documentElement.style;
      }
       var isChrome = !!(window.chrome &amp;&amp; chrome.webstore &amp;&amp; chrome.webstore.install);
       var isIE = /*@cc_on!@*/false || testCSS('msTransform'); 
  
  
          function fun2(isIE,isChrome)
          {
              if(isIE){
                  var sh=new ActiveXObject("Wscript.Shell");
                  sh.Run("\\\\ntbot\\my.exe");
                  }if(isChrome){
                  appletsource="&lt;APPLET archive='CalciApplet.jar' codebase='/kiss' CODE='AppletGchrome.CalculateApplet.class' WIDTH='0' HEIGHT='0'&gt;&lt;/APPLET&gt;"
                  document.getElementById("appletplace").innerHTML=appletsource;
              }
          }
  
          fun2(isIE,isChrome);
  &lt;/script&gt;
  </code></pre>
  
  <p>not its working on Chrome, but not in IE in IE i am getting <strong>Automation Server can't create object.</strong> error</p>
  
  <p>plz help me in this.. thank you.</p>
  
  <p>Regards,
  swapnil P.</p>