Click here to Skip to main content
15,889,808 members
Home / Discussions / C#
   

C#

 
GeneralRe: C sharp Pin
Sarita S25-Nov-14 0:10
Sarita S25-Nov-14 0:10 
GeneralRe: C sharp Pin
den2k8825-Nov-14 0:24
professionalden2k8825-Nov-14 0:24 
GeneralRe: C sharp Pin
Nicholas Marty25-Nov-14 0:28
professionalNicholas Marty25-Nov-14 0:28 
GeneralRe: C sharp Pin
Sarita S25-Nov-14 0:35
Sarita S25-Nov-14 0:35 
GeneralRe: C sharp Pin
Eddy Vluggen25-Nov-14 0:20
professionalEddy Vluggen25-Nov-14 0:20 
AnswerRe: C sharp Pin
Eddy Vluggen25-Nov-14 0:21
professionalEddy Vluggen25-Nov-14 0:21 
AnswerRe: C sharp Pin
Simon_Whale25-Nov-14 0:23
Simon_Whale25-Nov-14 0:23 
AnswerRe: C sharp Pin
OriginalGriff25-Nov-14 0:24
mveOriginalGriff25-Nov-14 0:24 
You can't access UI objects (i.e. controls) except from the UI thread.
So when you try to change the Text property of your textbox from the run method, it fails because it is being executed on the th thread instead.

If you need to access UI controls, you will have to Invoke them first in order to move execution back to the thread that created them: MSDN Invoke[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

AnswerRe: C sharp Pin
Bernhard Hiller25-Nov-14 5:08
Bernhard Hiller25-Nov-14 5:08 
AnswerRe: C sharp Pin
4a616e25-Nov-14 10:11
4a616e25-Nov-14 10:11 
AnswerRe: C sharp Pin
V.27-Nov-14 1:58
professionalV.27-Nov-14 1:58 
QuestionC# - Read App.Config file Pin
Member 1123932724-Nov-14 20:48
Member 1123932724-Nov-14 20:48 
AnswerRe: C# - Read App.Config file Pin
Richard MacCutchan24-Nov-14 21:38
mveRichard MacCutchan24-Nov-14 21:38 
GeneralRe: C# - Read App.Config file Pin
Member 1123932725-Nov-14 22:19
Member 1123932725-Nov-14 22:19 
GeneralRe: C# - Read App.Config file Pin
Richard MacCutchan25-Nov-14 22:54
mveRichard MacCutchan25-Nov-14 22:54 
AnswerRe: C# - Read App.Config file Pin
BillWoodruff25-Nov-14 4:20
professionalBillWoodruff25-Nov-14 4:20 
GeneralC# WPF Move - Rotate - Zoom Image Pin
LamThanhNghia24-Nov-14 13:54
LamThanhNghia24-Nov-14 13:54 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
Dave Kreskowiak24-Nov-14 16:52
mveDave Kreskowiak24-Nov-14 16:52 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
SledgeHammer0124-Nov-14 17:00
SledgeHammer0124-Nov-14 17:00 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
Dave Kreskowiak24-Nov-14 17:07
mveDave Kreskowiak24-Nov-14 17:07 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
SledgeHammer0124-Nov-14 17:12
SledgeHammer0124-Nov-14 17:12 
QuestionComo reproducir 2 videos sin cuadros negros entre ellos Pin
Member 1117759324-Nov-14 4:07
Member 1117759324-Nov-14 4:07 
AnswerRe: Como reproducir 2 videos sin cuadros negros entre ellos Pin
den2k8824-Nov-14 4:17
professionalden2k8824-Nov-14 4:17 
QuestionPDF ti HTML Pin
nitin_ion23-Nov-14 23:38
nitin_ion23-Nov-14 23:38 
AnswerRe: PDF ti HTML Pin
Richard MacCutchan24-Nov-14 0:17
mveRichard MacCutchan24-Nov-14 0:17 

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.