Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got this error when i change the index of combobox, Current thread must be set to single thread apartment (STA) ,when i will run the application error can not but when i will change selected index of combobox it occure
Posted
Comments
Kenneth Haugland 5-Oct-12 1:17am    
You need the main thread in the UI to be STA... Could we see the point were you create the form/thread?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900