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
Sam
NA
5
0
Threading with Windows Forms and HttpWebRequest
Mar 31 2010 3:08 AM
Greetings.
I've been researching this topic quite some time now, and haven't been able to figure it out at all.
Basically I have a Windows Forms C# (Visual Studio 2008 Express) application, that has two classes which make HttpWebRequests, which hang the whole application during the request.
What I would need to do is to allow the classes make the HttpWebRequests asycnhronously. The incoming data is parsed by a different function that takes parameters, but which is still inside the class. This function then calls the parent Windows Forms and adds a message to a TextBox.
I understand that adding text to a TextBox from two classes which are on separate threads can cause problems easily.
Any help is much appreciated. I've been stuck with similar problems for years now.
- Sam
Reply
Answers (
3
)
Datagridview cell position (.Net 2008).
Data Not cant see in database even insert query runs perfect.