Click here to Skip to main content
       

C#

 
GeneralRe: Who can help me to solve this problem ? PinmvpRichard MacCutchan19-Jan-13 22:34 
GeneralRe: Who can help me to solve this problem ? PinmemberBobJanova21-Jan-13 6:47 
AnswerRe: Who can help me to solve this problem ? PinmvpEddy Vluggen20-Jan-13 3:24 
GeneralRe: Who can help me to solve this problem ? PinmvpDave Kreskowiak20-Jan-13 7:12 
Questioncollections generic with wcf Pinmemberyonim12319-Jan-13 13:33 
AnswerRe: collections generic with wcf PinmemberSledgeHammer0119-Jan-13 14:03 
GeneralRe: collections generic with wcf Pinmemberyonim12319-Jan-13 14:20 
QuestionCannot Access the form _ Cross-thread operation Pinmembermohammadkaab19-Jan-13 10:50 
hi guys , im using the zeromq dll , and most of you knows , that this dll is handling the socket programming job .
okay , after that im define a dealer , i used the dealer.recived event is like
dealer.OnReceived += delegate(byte[] bytes, bool multipart)
                    {
                        string recive = Encoding.UTF8.GetString(bytes);
                        message = recive.Split('|');
                        //Checkinstruction(message);
                        
                        publisher.Send(bytes);
                        //Array.Clear(message, 0, message.Length);
                        //int a = 0;
                        if (Application.OpenForms["form2"] != null)
                            Application.OpenForms["form2"].Close();
                    };
Cross-thread operation not valid: Control 'Form2' accessed from a thread other than the thread it was created on.
this error belong to the application.openform.
 
i know one thing , when im using the threading opreation , i should define a new delegate to just invoke the object and get access of it , but here i dont really know what should i do to just close the form2.
 
so , any idea , i'll appriciate that .
AnswerRe: Cannot Access the form _ Cross-thread operation Pinmemberjibesh19-Jan-13 22:29 
AnswerRe: Cannot Access the form _ Cross-thread operation Pinmemberpt140120-Jan-13 23:13 
GeneralRe: Cannot Access the form _ Cross-thread operation Pinmembermohammadkaab21-Jan-13 21:26 
Questionwcf p2p file transfering over internet Pinmembervab26108519-Jan-13 3:03 
QuestionWorking with tab escape charecter PinmemberMc_Topaz19-Jan-13 2:49 
AnswerRe: Working with tab escape charecter PinmvpAbhinav S19-Jan-13 3:38 
GeneralRe: Working with tab escape charecter PinmemberMc_Topaz19-Jan-13 4:22 
QuestionDesign-Time Error in the Windows Forms Designer [modified] Pinmember_q12_18-Jan-13 5:25 
AnswerRe: Design-Time Error in the Windows Forms Designer PinmvpEddy Vluggen18-Jan-13 6:02 
AnswerRe: Design-Time Error in the Windows Forms Designer PinmemberAlan N18-Jan-13 6:42 
QuestionParalel QuickSort with 2 threads running at the same spped [modified] PinmemberGeorge Nistor18-Jan-13 1:51 
AnswerRe: Paralel QuickSort with 2 threads running at the same spped PinmvpDave Kreskowiak18-Jan-13 5:20 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped [modified] PinmemberGeorge Nistor18-Jan-13 5:41 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped PinmvpDave Kreskowiak18-Jan-13 7:25 
AnswerRe: Paralel QuickSort with 2 threads running at the same spped PinmemberAlan Balkany18-Jan-13 6:12 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped PinmemberGeorge Nistor18-Jan-13 6:31 
GeneralRe: Paralel QuickSort with 2 threads running at the same spped PinmvpDave Kreskowiak18-Jan-13 7:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 20 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid