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
Paulo Luis
NA
3
37.5k
Threads C#
Jan 20 2011 12:34 PM
Good afternoon,
I'm doing a code that every x time you access a web hosting and puts some information there. For that I am using threads, but I must be doing something wrong since the code is only called one time ...
I must be doing something wrong since I am beginner in this language. The idea is the application running continuously.
I'll put here the piece of code that performs what I want to be able to help:
private void Form1_Load(object sender, EventArgs e)
{
ActualizarBB ActualizarBBt = new ActualizarBB();
Thread oThread = new Thread(new ThreadStart(ActualizarBBt.Actualizar));
try
{
oThread.Start();
Thread.Sleep(15);
}
catch (ThreadStateException ext)
{
MessageBox.Show(ext.ToString());
}
}
Reply
Answers (
3
)
Add Rows to a DataTable without losing the previous rows
How to create exe file with database including and softwares needed at client system