Hi I'm try to run new ActiveXObject("WScript.shell"); in my VS2005 code on Vista. I get the error Microsoft JScript runtime error: Automation server can't create object I'm assuming this is Vista protection, but i have been unable to get it so run - Any ideas? Peter
"Peter" wrote in message news:D6265C03-97D9-4BF1-834B-03720E5A5839@microsoft.com... > Hi > > I'm try to run new ActiveXObject("WScript.shell"); in my VS2005 code on > Vista. I get the error > > Microsoft JScript runtime error: Automation server can't create object > > I'm assuming this is Vista protection, but i have been unable to get it so > run - Any ideas? > > Peter Can you give more details on the context? Is this a web page, a stand alone js script etc? What exactly is meant by VS2005 code? -- Joe Fawcett (MVP - XML) http://joe.fawcett.name