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
latika singh
NA
31
33.6k
Thread safe calls to windows forms controls
Aug 3 2011 9:55 PM
I have a text box that constantly updates value coming in from a serial device. When I compile the code and build the project in .exe format everything works fine. But when I run the project from the VS 2008 environment then it displays a message box saying that the
control 'textbox' accessed from a thread other than the thread it was created
.
Can anyone make suggestions to the problem. It points to the following line in the code:
Me.tReading.Text = Format(reading, "#0.00000")
Reply
Answers (
2
)
Proud to be Mindcracker Gold Member
Visual Studio v/s Visual Studio Light Switch