Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application running in thread environment Pin
Scott Dorman11-Oct-07 16:32
professionalScott Dorman11-Oct-07 16:32 
QuestionBackup Database using C# Pin
C#Coudou11-Oct-07 15:13
C#Coudou11-Oct-07 15:13 
AnswerRe: Backup Database using C# Pin
Charith Jayasundara11-Oct-07 18:34
Charith Jayasundara11-Oct-07 18:34 
AnswerRe: Backup Database using C# Pin
Rocky#11-Oct-07 20:03
Rocky#11-Oct-07 20:03 
QuestionZooming a group of controls Pin
wolfshad311-Oct-07 14:33
wolfshad311-Oct-07 14:33 
AnswerRe: Zooming a group of controls Pin
Paul Conrad12-Oct-07 13:33
professionalPaul Conrad12-Oct-07 13:33 
GeneralRe: Zooming a group of controls Pin
wolfshad312-Oct-07 13:39
wolfshad312-Oct-07 13:39 
QuestionAccess to Object (TextBox or ListBox) from a Thread Pin
Patricio Tapia11-Oct-07 12:56
Patricio Tapia11-Oct-07 12:56 
Example:

....<br />
Thread a = new Thread(method1);<br />
a.Start();<br />
....<br />
....<br />
void method1() {<br />
  textBox1.Text = "Hello";<br />
}


if i execute that code, they give me an InvalidOperationException error (access to textbox1 from another process)
i try to call that method using an delegate, but not works
another way is add this code:

CheckForIllegalCrossThreadCalls = false;
but i don't need to deactivated that

how i can fixed?

AnswerRe: Access to Object (TextBox or ListBox) from a Thread Pin
Luc Pattyn11-Oct-07 13:25
sitebuilderLuc Pattyn11-Oct-07 13:25 
QuestionRe: Access to Object (TextBox or ListBox) from a Thread Pin
Patricio Tapia11-Oct-07 15:34
Patricio Tapia11-Oct-07 15:34 
AnswerRe: Access to Object (TextBox or ListBox) from a Thread Pin
Luc Pattyn11-Oct-07 15:50
sitebuilderLuc Pattyn11-Oct-07 15:50 
GeneralRe: Access to Object (TextBox or ListBox) from a Thread Pin
Patricio Tapia11-Oct-07 19:41
Patricio Tapia11-Oct-07 19:41 
Questionc# calling unmanaged C Pin
j10000_18611-Oct-07 12:53
j10000_18611-Oct-07 12:53 
GeneralRe: c# calling unmanaged C [modified] Pin
j10000_18611-Oct-07 13:03
j10000_18611-Oct-07 13:03 
GeneralRe: c# calling unmanaged C Pin
Luc Pattyn11-Oct-07 13:27
sitebuilderLuc Pattyn11-Oct-07 13:27 
GeneralRe: c# calling unmanaged C Pin
j10000_18611-Oct-07 13:41
j10000_18611-Oct-07 13:41 
GeneralRe: c# calling unmanaged C Pin
Luc Pattyn11-Oct-07 14:03
sitebuilderLuc Pattyn11-Oct-07 14:03 
GeneralRe: c# calling unmanaged C Pin
j10000_18611-Oct-07 14:52
j10000_18611-Oct-07 14:52 
GeneralRe: c# calling unmanaged C Pin
j10000_18612-Oct-07 0:51
j10000_18612-Oct-07 0:51 
GeneralRe: c# calling unmanaged C Pin
Luc Pattyn12-Oct-07 2:48
sitebuilderLuc Pattyn12-Oct-07 2:48 
QuestionGridView Bound column Pin
ss.mmm11-Oct-07 11:16
ss.mmm11-Oct-07 11:16 
QuestionSome kind of timer.. Pin
Joplinazz11-Oct-07 10:59
Joplinazz11-Oct-07 10:59 
AnswerRe: Some kind of timer.. Pin
Pete O'Hanlon11-Oct-07 11:08
mvePete O'Hanlon11-Oct-07 11:08 
AnswerRe: Some kind of timer.. Pin
Justin Perez11-Oct-07 11:11
Justin Perez11-Oct-07 11:11 
GeneralRe: Some kind of timer.. Pin
Joplinazz11-Oct-07 11:16
Joplinazz11-Oct-07 11:16 

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.