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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Could not instantiate ActiveX control

Thread ID:

Created:

Platform:

Replies:

8786 Nov 20,2003 03:03 AM UTC WinForms 0
loading
Tags: FAQ
pargunan
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

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.

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

;