Page 1 of 1

activeposh apartmentstate

Posted: Sun Apr 22, 2012 6:02 am
by slittle
I am trying to run powershell code that references the Watin.core.dll to automate Firefox. I get the error that the apartmentstate must be set to STA. Is there a way to set this so activeposh will run the script code in that mode?

activeposh apartmentstate

Posted: Wed Apr 25, 2012 9:33 am
by Alexander Riedel
ActiveXPosh doesn't support STA at this time. I'll see if we can create a new version soon.

activeposh apartmentstate

Posted: Sun Apr 29, 2012 3:30 am
by slittle
Wow! Thanks. It is an understatement to express my appreciation. Stan