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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Could not instantiate ActiveX control

Thread ID:




8786 Nov 20,2003 03:03 AM UTC WinForms 0
Tags: FAQ
Asked On November 20, 2003 03:03 AM UTC

Hi, I am developing a Window Service application in .Net using VB.Net and it refers some controls, which is placed on a WinForm. While it calls/refer that, it prompt error "Could not instantiate ActiveX control 'xxxx' because the current thread is not in a single-threaded apartment" I have seen many places, the GUI cannot be placed on Windows Service, but my requirement should be. Even I try to compile that form alone as a stand-alone exe and try to call thro this service using Shell() function. It reports error "Data Type Conversion and cannot be inititialized" Can anyone help on this? Thanks in advance Pargunan


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon