We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Could not instantiate ActiveX control because the current thread is not in a single-threaded apartme

Hi, I have a .NET .DLL called by a VB6 EXE. The following error message is when trying to instantiate a form in the .NET .DLL: Could not instantiate ActiveX control 'c932ba85-4374-101b-a56c-00aa003668dc' because the current thread is not in a single-threaded apartment Some documents suggest adding proceeding the Main() method to enforce the .NET in running in the static thread. However, there is no Main() method in the .NET .DLL. Any one knows how to solve this problem? Appreciated very much.

1 Reply

LT ltphu April 6, 2004 08:52 PM

You use Threading.Timer? and Have any solution?

Loader.
Live Chat Icon For mobile
Up arrow icon