activeposh apartmentstate
activeposh apartmentstate
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?
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
activeposh apartmentstate
ActiveXPosh doesn't support STA at this time. I'll see if we can create a new version soon.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.