TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gerben Schmidt
NA
7
38.3k
Call a method from UI in another Thread
Jan 21 2011 2:41 PM
Hi,
In a running thread (Async Backgroundworker) I wan't to get selected listbox items from the UI.
In my current code the background worker starts but when I call the method in the DOWORK it get's an exeption:
"Cross-thread operation not valid: Control 'listBox1' accessed from a thread other than the thread it was created on."
What is the solution?
I am a beginner...
Reply
Answers (
2
)
Create a shortcut key.
Drawing a circle on an image