Click here to Skip to main content
16,006,531 members
Home / Discussions / C#
   

C#

 
QuestionNew to C# Pin
kishorekumar.malla@live.com12-May-08 17:47
kishorekumar.malla@live.com12-May-08 17:47 
AnswerRe: New to C# Pin
Christian Graus12-May-08 17:53
protectorChristian Graus12-May-08 17:53 
AnswerRe: New to C# Pin
MarkB77712-May-08 20:36
MarkB77712-May-08 20:36 
AnswerRe: New to C# Pin
ssclaire13-May-08 3:39
ssclaire13-May-08 3:39 
QuestionDirectX Crashes in FullScreen, or without Visual Studio Pin
Expert Coming12-May-08 17:24
Expert Coming12-May-08 17:24 
AnswerRe: DirectX Crashes in FullScreen, or without Visual Studio Pin
MarkB77712-May-08 20:30
MarkB77712-May-08 20:30 
QuestionThreading issues when updating GUI Pin
Jergosh12-May-08 14:12
Jergosh12-May-08 14:12 
AnswerRe: Threading issues when updating GUI Pin
Christian Graus12-May-08 14:27
protectorChristian Graus12-May-08 14:27 
Jergosh wrote:
Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on.


You can actually turn this error off if you want to, but it makes more sense to work around it. The way I do it is to do threading with the BackgroundWorker class, and to use the reportProgress method to fire a message back to the main thread, which then is where I update UI.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

AnswerRe: Threading issues when updating GUI Pin
S. Senthil Kumar12-May-08 21:07
S. Senthil Kumar12-May-08 21:07 
GeneralRe: Threading issues when updating GUI Pin
Jergosh12-May-08 22:03
Jergosh12-May-08 22:03 
Questioncsc not recognised Pin
techie_kuldeep12-May-08 10:22
techie_kuldeep12-May-08 10:22 
AnswerRe: csc not recognised Pin
Ennis Ray Lynch, Jr.12-May-08 10:42
Ennis Ray Lynch, Jr.12-May-08 10:42 
AnswerRe: csc not recognised Pin
Abhijit Jana12-May-08 19:02
professionalAbhijit Jana12-May-08 19:02 
QuestionTest is a form is closed Pin
baranils12-May-08 10:14
baranils12-May-08 10:14 
AnswerRe: Test is a form is closed [modified] Pin
Anthony Mushrow12-May-08 10:36
professionalAnthony Mushrow12-May-08 10:36 
GeneralRe: Test is a form is closed Pin
baranils12-May-08 18:58
baranils12-May-08 18:58 
AnswerRe: Test is a form is closed Pin
Christian Graus12-May-08 12:08
protectorChristian Graus12-May-08 12:08 
Questionint[] reference issue Pin
shamidi12-May-08 9:43
shamidi12-May-08 9:43 
AnswerRe: int[] reference issue Pin
Ed.Poore12-May-08 10:13
Ed.Poore12-May-08 10:13 
GeneralRe: int[] reference issue Pin
shamidi12-May-08 10:33
shamidi12-May-08 10:33 
GeneralRe: int[] reference issue Pin
Ed.Poore12-May-08 12:28
Ed.Poore12-May-08 12:28 
AnswerRe: int[] reference issue Pin
#realJSOP12-May-08 10:16
professional#realJSOP12-May-08 10:16 
GeneralRe: int[] reference issue Pin
shamidi12-May-08 10:35
shamidi12-May-08 10:35 
GeneralRe: int[] reference issue Pin
Anthony Mushrow12-May-08 10:41
professionalAnthony Mushrow12-May-08 10:41 
GeneralRe: int[] reference issue Pin
#realJSOP12-May-08 10:50
professional#realJSOP12-May-08 10:50 

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.