-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: sushil_online
Message 14 in Discussion
Hi , I have created one Windows service and added a webbrowser control in
it. When I am compiling the WS , I am getting the below exception. Can anybody
has the same problem and resolved . Please help, thankx in advance..sushil
System.Threading.ThreadStateException was unhandled
Message="ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be
instantiated because the current thread is not in a single-threaded apartment."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.WebBrowserBase..ctor(String clsidString)
at System.Windows.Forms.WebBrowser..ctor()
at WinSerDKReportSeatSelection.DKreportService.InitializeComponent()
at
WinSerDKReportSeatSelection.DKreportService..ctor()
at WinSerDKReportSeatSelection.Program.RunService()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]