ThreadMustBeSTA


If a ComboBox has it’s AutoCompleteMode set without STA enabled on the calling thread, an exception will be thrown – ThreadMustBeSTA

~ by mdavey on October 19, 2006.

One Response to “ThreadMustBeSTA”

  1. That’s probably cos it uses COM for the callback into the IAutoComplete (et al) implementation.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.