Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
QuestionDrawing Application--Line Selection? Pin
Raza568015-May-07 18:03
Raza568015-May-07 18:03 
AnswerRe: Drawing Application--Line Selection? Pin
mike montagne15-May-07 18:36
mike montagne15-May-07 18:36 
QuestionHow to upload image into a remote database server? Pin
Khoramdin15-May-07 15:44
Khoramdin15-May-07 15:44 
AnswerRe: How to upload image into a remote database server? Pin
mike montagne15-May-07 17:20
mike montagne15-May-07 17:20 
QuestionA ListView (and also TreeView) with more than one contextMenu related to item that was rightClicked Pin
DeepBlackHole15-May-07 14:46
DeepBlackHole15-May-07 14:46 
AnswerRe: A ListView (and also TreeView) with more than one contextMenu related to item that was rightClicked Pin
mike montagne15-May-07 15:16
mike montagne15-May-07 15:16 
AnswerRe: A ListView (and also TreeView) with more than one contextMenu related to item that was rightClicked Pin
Uwe Keim15-May-07 18:08
sitebuilderUwe Keim15-May-07 18:08 
Questioncross thread problem Pin
simsem15-May-07 13:44
simsem15-May-07 13:44 
i've a cross thread problem
i searched the net alot and i still can't solve it
here is a complete sample of the code

WaitCallback callback ;string username;
fn(object sender,eventargs e )
{
callback = delegate(object state) { this.ExcuteFN(); };
}

void ExcuteFN()
{
//MethodInvoker.Combine(callback);
try{
this.usertableadapter.insert(textbox2.text,combox1.selectedvalue);}catch(){}
finally{textbox1.clear();}
}

the problem that another thread is accessing the control that created by main thread
ofcourse i don't want the dirty solution to stop the control check

i tried the
MethodInvoker.Combine(callback);but no way, i tried many other solution but also no way
any solution plz provide full details
AnswerRe: cross thread problem Pin
Christian Graus15-May-07 14:15
protectorChristian Graus15-May-07 14:15 
GeneralRe: cross thread problem Pin
Judah Gabriel Himango15-May-07 16:01
sponsorJudah Gabriel Himango15-May-07 16:01 
GeneralRe: cross thread problem Pin
simsem15-May-07 16:04
simsem15-May-07 16:04 
GeneralRe: cross thread problem Pin
Judah Gabriel Himango16-May-07 4:38
sponsorJudah Gabriel Himango16-May-07 4:38 
AnswerRe: cross thread problem Pin
Darkman_nofear15-May-07 17:58
Darkman_nofear15-May-07 17:58 
JokeRe: cross thread problem Pin
NormDroid15-May-07 22:13
professionalNormDroid15-May-07 22:13 
QuestionRight Click event producing no result Pin
Kataric15-May-07 13:25
Kataric15-May-07 13:25 
AnswerRe: Right Click event producing no result Pin
Christian Graus15-May-07 13:29
protectorChristian Graus15-May-07 13:29 
GeneralRe: Right Click event producing no result Pin
Kataric15-May-07 13:32
Kataric15-May-07 13:32 
GeneralRe: Right Click event producing no result Pin
Kataric15-May-07 13:35
Kataric15-May-07 13:35 
AnswerRe: Right Click event producing no result Pin
mike montagne15-May-07 14:31
mike montagne15-May-07 14:31 
AnswerRe: Right Click event producing no result [modified] Pin
mike montagne15-May-07 14:38
mike montagne15-May-07 14:38 
GeneralRe: Right Click event producing no result Pin
PIEBALDconsult15-May-07 15:21
mvePIEBALDconsult15-May-07 15:21 
GeneralRe: Right Click event producing no result Pin
mike montagne15-May-07 15:28
mike montagne15-May-07 15:28 
GeneralRe: Right Click event producing no result Pin
PIEBALDconsult15-May-07 15:30
mvePIEBALDconsult15-May-07 15:30 
GeneralRe: Right Click event producing no result Pin
mike montagne15-May-07 15:38
mike montagne15-May-07 15:38 
GeneralRe: Right Click event producing no result Pin
mike montagne15-May-07 15:33
mike montagne15-May-07 15:33 

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.