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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

6123 Jul 31,2003 10:00 PM UTC Apr 7,2004 12:52 AM UTC WinForms 1
loading
Tags: FAQ
bears
Asked On July 31, 2003 10:00 PM UTC

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.

ltphu
Replied On April 7, 2004 12:52 AM UTC

You use Threading.Timer? and Have any solution?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;