Click here to Skip to main content
15,898,538 members
Home / Discussions / C#
   

C#

 
AnswerRe: this as parameter Pin
Luc Pattyn24-May-09 16:07
sitebuilderLuc Pattyn24-May-09 16:07 
GeneralRe: this as parameter Pin
mark_me25-May-09 12:18
mark_me25-May-09 12:18 
GeneralRe: this as parameter Pin
Luc Pattyn25-May-09 12:30
sitebuilderLuc Pattyn25-May-09 12:30 
QuestionDetecting The Debug Version Pin
BlitzPackage24-May-09 15:01
BlitzPackage24-May-09 15:01 
AnswerRe: Detecting The Debug Version Pin
Luc Pattyn24-May-09 16:05
sitebuilderLuc Pattyn24-May-09 16:05 
AnswerRe: Detecting The Debug Version Pin
_Maxxx_24-May-09 16:52
professional_Maxxx_24-May-09 16:52 
AnswerRe: Detecting The Debug Version Pin
BlitzPackage24-May-09 17:11
BlitzPackage24-May-09 17:11 
Question.Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater24-May-09 11:51
Abydosgater24-May-09 11:51 
Hi, In my application i need to open 2 forms. After the first form is loaded, iti loads a second form with the following..


System.Threading.Thread MainFormThread = new System.Threading.Thread(new System.Threading.ThreadStart(OpenMainForm));
            MainFormThread.Start();
            System.Threading.Thread.Sleep(1500);


Where OpenMainForm() just has Application.Run(new MainForm());

The MainForm has a webbrowser control, and it will not compile due to the error:

ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment.


Does anyone know how i can solve this issue?

Thanks for reading.
Andy
AnswerRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Manas Bhardwaj24-May-09 11:54
professionalManas Bhardwaj24-May-09 11:54 
AnswerRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn24-May-09 12:05
sitebuilderLuc Pattyn24-May-09 12:05 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater25-May-09 4:18
Abydosgater25-May-09 4:18 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn25-May-09 4:31
sitebuilderLuc Pattyn25-May-09 4:31 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater25-May-09 4:48
Abydosgater25-May-09 4:48 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn25-May-09 5:35
sitebuilderLuc Pattyn25-May-09 5:35 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater25-May-09 6:15
Abydosgater25-May-09 6:15 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn25-May-09 6:38
sitebuilderLuc Pattyn25-May-09 6:38 
QuestionAsyncCompletedEventHandler Not Firing... Pin
Fudge Mutator24-May-09 11:21
Fudge Mutator24-May-09 11:21 
AnswerRe: AsyncCompletedEventHandler Not Firing... Pin
Manas Bhardwaj24-May-09 11:32
professionalManas Bhardwaj24-May-09 11:32 
GeneralRe: AsyncCompletedEventHandler Not Firing... Pin
Fudge Mutator24-May-09 17:43
Fudge Mutator24-May-09 17:43 
AnswerRe: AsyncCompletedEventHandler Not Firing... Pin
Luc Pattyn24-May-09 11:56
sitebuilderLuc Pattyn24-May-09 11:56 
QuestionImplemening MS-Excel ( text to columns ) function using C# Pin
MustafaHamed24-May-09 10:38
MustafaHamed24-May-09 10:38 
Questionproblem in datagrid column scrolling Pin
Shuaib wasif khan24-May-09 9:18
Shuaib wasif khan24-May-09 9:18 
AnswerRe: problem in datagrid column scrolling Pin
Luc Pattyn24-May-09 9:31
sitebuilderLuc Pattyn24-May-09 9:31 
GeneralRe: problem in datagrid column scrolling Pin
Shuaib wasif khan24-May-09 11:13
Shuaib wasif khan24-May-09 11:13 
GeneralRe: problem in datagrid column scrolling Pin
Luc Pattyn24-May-09 11:37
sitebuilderLuc Pattyn24-May-09 11:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.