I see, so basically if I have any ActiveX components that do
not support
MTA then I need to have them run on the main thread?
-----Original Message-----
From: Ryan Heath [mailto:ryan.q.heath GMAIL.COM]
Sent: 19 July 2006 14:35
To: VBDOTNET DISCUSS.DEVELOP.COM
Subject: Re: BackgroundWorker
Hi Steven,
I dont think it is possible.
An app can have many MTA's but only one STA which is
already taken by
your app; the main form is running in it.
// Ryan
On 7/19/06, Steven Amani <steven.amani christiansteven.com> wrote:
> I have a program that uses the backgroundworker and
also contains some
> ActiveX components. I am getting an error when trying
to initialize
> the ActiveX component in the backgroundworker's thread
because it is
> MTA. Is there a way I can change the
backgroundworker's thread mode to
STA?
>
> Warm Regards
>
> Steven Amani
>
> ===================================
> This list is hosted by DevelopMentor(r) http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|