Click here to Skip to main content
15,910,277 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading Text Files Pin
boomer194617-Aug-05 16:38
boomer194617-Aug-05 16:38 
GeneralSpeech Recognition without using MSAGENT Pin
michaelreian16-Aug-05 15:38
michaelreian16-Aug-05 15:38 
GeneralRe: Speech Recognition without using MSAGENT Pin
Scott Serl16-Aug-05 16:24
Scott Serl16-Aug-05 16:24 
GeneralTimer Object Pin
binglin16-Aug-05 15:34
binglin16-Aug-05 15:34 
GeneralRe: Timer Object Pin
Mohamad Al Husseiny16-Aug-05 15:43
Mohamad Al Husseiny16-Aug-05 15:43 
GeneralRe: Timer Object Pin
binglin16-Aug-05 22:47
binglin16-Aug-05 22:47 
GeneralRe: Timer Object Pin
Mohamad Al Husseiny17-Aug-05 5:03
Mohamad Al Husseiny17-Aug-05 5:03 
GeneralRe: Timer Object Pin
sean_mufc17-Aug-05 0:52
sean_mufc17-Aug-05 0:52 
I am assuming you are writing a Windows App.
Basically you click on the timer in the Toolbox panel (in design view) and drag it to the form. Go to timer properties an set Enabled to True and Interval to 1000ms (1s). Double click on the timer icon in design view, This will then switch to your code and it will have added the following:

private void timer1_Tick(object sender, System.EventArgs e)
{
// forech loop and associated code to go here
}

Put your code inside the method and it will run ever second
GeneralProgram with no UI Pin
monrobot1316-Aug-05 12:53
monrobot1316-Aug-05 12:53 
GeneralRe: Program with no UI Pin
therealmccoy16-Aug-05 13:01
therealmccoy16-Aug-05 13:01 
GeneralRe: Program with no UI Pin
Mohamad Al Husseiny16-Aug-05 14:54
Mohamad Al Husseiny16-Aug-05 14:54 
GeneralThanks for the info guys. Pin
monrobot1317-Aug-05 12:18
monrobot1317-Aug-05 12:18 
Generalspell check recommendations Pin
InteractiveLogic16-Aug-05 12:52
InteractiveLogic16-Aug-05 12:52 
GeneralRegular expressions formula... Pin
bouli16-Aug-05 12:41
bouli16-Aug-05 12:41 
QuestionHow to call default text editor Pin
therealmccoy16-Aug-05 11:23
therealmccoy16-Aug-05 11:23 
AnswerRe: How to call default text editor Pin
Christian Graus16-Aug-05 13:59
protectorChristian Graus16-Aug-05 13:59 
AnswerRe: How to call default text editor Pin
thealca16-Aug-05 14:04
thealca16-Aug-05 14:04 
AnswerRe: How to call default text editor Pin
Mohamad Al Husseiny16-Aug-05 14:46
Mohamad Al Husseiny16-Aug-05 14:46 
AnswerRe: How to call default text editor Pin
therealmccoy16-Aug-05 19:16
therealmccoy16-Aug-05 19:16 
GeneralButton control and images Pin
Liunardu16-Aug-05 9:39
Liunardu16-Aug-05 9:39 
GeneralRe: Button control and images Pin
Mohamad Al Husseiny16-Aug-05 9:55
Mohamad Al Husseiny16-Aug-05 9:55 
GeneralSum of each column in a datagrid Pin
Srinivas Jonnalagadda16-Aug-05 8:21
Srinivas Jonnalagadda16-Aug-05 8:21 
GeneralTeam programming Pin
Genbox16-Aug-05 7:36
Genbox16-Aug-05 7:36 
GeneralRe: Team programming Pin
Colin Angus Mackay16-Aug-05 11:37
Colin Angus Mackay16-Aug-05 11:37 
GeneralRe: Team programming Pin
Anonymous16-Aug-05 20:16
Anonymous16-Aug-05 20:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.