activeposh apartmentstate

This forum can be browsed by the general public. Posting is no longer allowed as the product has been discontinued.
This topic is 11 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
slittle
Posts: 8
Last visit: Sun Aug 30, 2015 3:12 am

activeposh apartmentstate

Post 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?
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

activeposh apartmentstate

Post by Alexander Riedel »

ActiveXPosh doesn't support STA at this time. I'll see if we can create a new version soon.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
slittle
Posts: 8
Last visit: Sun Aug 30, 2015 3:12 am

activeposh apartmentstate

Post by slittle »

Wow! Thanks. It is an understatement to express my appreciation. Stan
This topic is 11 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.