Click here to Skip to main content
15,845,912 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionRe: Simulate menu item clicked Pin
led mike11-Oct-08 9:01
led mike11-Oct-08 9:01 
AnswerRe: Simulate menu item clicked Pin
thompsons11-Oct-08 12:19
thompsons11-Oct-08 12:19 
GeneralRe: Simulate menu item clicked Pin
thompsons12-Oct-08 14:29
thompsons12-Oct-08 14:29 
QuestionCreate Screensaver using Windows Application ASP.NET 2.0 with C# [modified] Pin
krutishukla9-Oct-08 20:06
krutishukla9-Oct-08 20:06 
Questionhow to use ViewState in windows form Pin
tads7-Oct-08 0:57
tads7-Oct-08 0:57 
AnswerRe: how to use ViewState in windows form Pin
Dave Kreskowiak7-Oct-08 3:12
mveDave Kreskowiak7-Oct-08 3:12 
GeneralRe: how to use ViewState in windows form Pin
tads7-Oct-08 3:42
tads7-Oct-08 3:42 
GeneralRe: how to use ViewState in windows form Pin
led mike8-Oct-08 5:43
led mike8-Oct-08 5:43 
QuestionForm Activate / DeActivate Not Firing Pin
auguy6-Oct-08 10:05
auguy6-Oct-08 10:05 
AnswerRe: Form Activate / DeActivate Not Firing Pin
nelsonpaixao7-Oct-08 14:23
nelsonpaixao7-Oct-08 14:23 
GeneralRe: Form Activate / DeActivate Not Firing Pin
auguy9-Oct-08 4:09
auguy9-Oct-08 4:09 
Questionpopulating combobox from Registry error Pin
RighteousBrother6-Oct-08 6:58
RighteousBrother6-Oct-08 6:58 
AnswerRe: populating combobox from Registry error Pin
Mycroft Holmes7-Oct-08 0:30
professionalMycroft Holmes7-Oct-08 0:30 
QuestionHow filter file in WebBrowser?? Pin
Wojciech Nagórski6-Oct-08 2:44
Wojciech Nagórski6-Oct-08 2:44 
AnswerCross Post Pin
led mike6-Oct-08 5:34
led mike6-Oct-08 5:34 
QuestionMultiThread Problem Pin
jpsstavares6-Oct-08 1:36
jpsstavares6-Oct-08 1:36 
AnswerRe: MultiThread Problem Pin
led mike6-Oct-08 5:40
led mike6-Oct-08 5:40 
GeneralRe: MultiThread Problem Pin
jpsstavares6-Oct-08 5:52
jpsstavares6-Oct-08 5:52 
GeneralRe: MultiThread Problem Pin
led mike6-Oct-08 6:27
led mike6-Oct-08 6:27 
GeneralRe: MultiThread Problem Pin
jpsstavares6-Oct-08 6:49
jpsstavares6-Oct-08 6:49 
AnswerRe: MultiThread Problem Pin
Urs Enzler6-Oct-08 6:11
Urs Enzler6-Oct-08 6:11 
You have to click the Button on the same thread as it was created, otherwise you'll get this exception.

For normal applications that means that all UI components are created on the main (UI) thread and all calls to the UI coming from background threads have to be marshaled back to the UI thread, either by using Control.Invoke or a SynchronizationContext.

In your szenario, either run the 3rd party software on the UI thread and your tasks on a background thread, then you can use Invoke or a SynchronizationContext, or really be sure that everything you call to the 3rd party app is on the same worker thread.

Regards
Urs

-^-^-^-^-^-^-^-
no risk no funk

Questionfindwindowex and gettext ??? Pin
TALHAKOSEN5-Oct-08 22:15
TALHAKOSEN5-Oct-08 22:15 
AnswerRe: findwindowex and gettext ??? Pin
Giorgi Dalakishvili6-Oct-08 0:21
mentorGiorgi Dalakishvili6-Oct-08 0:21 
GeneralRe: findwindowex and gettext ??? Pin
TALHAKOSEN6-Oct-08 1:41
TALHAKOSEN6-Oct-08 1:41 
GeneralRe: findwindowex and gettext ??? Pin
TALHAKOSEN6-Oct-08 2:08
TALHAKOSEN6-Oct-08 2:08 

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.