Click here to Skip to main content
15,880,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: Install Automatic Updates C# 2008 .Net app Pin
Not Active15-Feb-10 13:29
mentorNot Active15-Feb-10 13:29 
GeneralRe: Install Automatic Updates C# 2008 .Net app Pin
PDTUM15-Feb-10 13:41
PDTUM15-Feb-10 13:41 
GeneralRe: Install Automatic Updates C# 2008 .Net app Pin
Not Active15-Feb-10 14:23
mentorNot Active15-Feb-10 14:23 
AnswerSame answers to to the same question Pin
Not Active15-Feb-10 13:30
mentorNot Active15-Feb-10 13:30 
GeneralRe: Same answers to to the same question Pin
PDTUM15-Feb-10 14:00
PDTUM15-Feb-10 14:00 
GeneralRe: Same answers to to the same question [modified] Pin
Not Active15-Feb-10 14:20
mentorNot Active15-Feb-10 14:20 
Question[partially SOLVED] Cross-Threading problem, InvokeRequired and Events Pin
User 680178015-Feb-10 5:46
User 680178015-Feb-10 5:46 
AnswerRe: Cross-Threading problem, InvokeRequired and Events Pin
Nicholas Butler15-Feb-10 8:01
sitebuilderNicholas Butler15-Feb-10 8:01 
1) Don't use Thread.Abort() because it makes you AppDomain unstable.

2) Don't use Application.DoEvents() because it causes reentrancy.

3) You're running your Initiate_Engine() method on a separate thread, but the first thing you do is use Invoke to marshal it back to the UI thread.

I suggest you read http://www.albahari.com/threading/[^].

Nick
----------------------------------
Be excellent to each other Smile | :)

GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178015-Feb-10 8:17
User 680178015-Feb-10 8:17 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Nicholas Butler15-Feb-10 8:37
sitebuilderNicholas Butler15-Feb-10 8:37 
JokeRe: Cross-Threading problem, InvokeRequired and Events Pin
Wes Aday15-Feb-10 9:25
professionalWes Aday15-Feb-10 9:25 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Wes Aday15-Feb-10 11:10
professionalWes Aday15-Feb-10 11:10 
AnswerRe: Cross-Threading problem, InvokeRequired and Events Pin
Luc Pattyn15-Feb-10 8:37
sitebuilderLuc Pattyn15-Feb-10 8:37 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178015-Feb-10 9:55
User 680178015-Feb-10 9:55 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Luc Pattyn15-Feb-10 10:01
sitebuilderLuc Pattyn15-Feb-10 10:01 
QuestionRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178015-Feb-10 10:23
User 680178015-Feb-10 10:23 
AnswerRe: Cross-Threading problem, InvokeRequired and Events Pin
Luc Pattyn15-Feb-10 10:32
sitebuilderLuc Pattyn15-Feb-10 10:32 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178015-Feb-10 10:38
User 680178015-Feb-10 10:38 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Luc Pattyn15-Feb-10 11:30
sitebuilderLuc Pattyn15-Feb-10 11:30 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178015-Feb-10 10:45
User 680178015-Feb-10 10:45 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Luc Pattyn15-Feb-10 11:23
sitebuilderLuc Pattyn15-Feb-10 11:23 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Daniel Grunwald16-Feb-10 8:41
Daniel Grunwald16-Feb-10 8:41 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Luc Pattyn16-Feb-10 9:06
sitebuilderLuc Pattyn16-Feb-10 9:06 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
Daniel Grunwald16-Feb-10 9:26
Daniel Grunwald16-Feb-10 9:26 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178016-Feb-10 9:42
User 680178016-Feb-10 9:42 

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.