solutionsdxb
Member
- Joined
- Mar 18, 2009
- Messages
- 8
- Programming Experience
- 1-3
Hi,
I am using a thread to call a process which is spliting a text file into various text file and folder using the system.io , now when calling the Textsplit() with thread on click of a button i am getting the error below , could you please help with me some example on how to use thread and why this error occurs.
Cross-thread operation not valid: Control 'txtbox_destn' accessed from a thread other than the thread it was created on.
I am using a thread to call a process which is spliting a text file into various text file and folder using the system.io , now when calling the Textsplit() with thread on click of a button i am getting the error below , could you please help with me some example on how to use thread and why this error occurs.
Cross-thread operation not valid: Control 'txtbox_destn' accessed from a thread other than the thread it was created on.