473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Timer component in .NET

Hello,

There are a number of Timer classes within the .NET framework. Am not very
clear as to which component can be used, there is System.Timers.Timer,
System.Windows.Forms.Timer, System.Threading.Timer for example.....any help
will be appreciated as to which component is better for use in some cases,
more than others.

Thank you,
Marise
Nov 22 '05 #1
2 2301
Marise,

Which timer to use depends on the functionality you implement. Please refer
to the article in Visual Studio help:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbconServerBasedTi
mers.htm

It describes the differences and typical usage for these classes.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: "M. D'Costa" <me******@hotmail.com>
|Subject: Timer component in .NET
|Date: Wed, 25 Aug 2004 11:17:49 +0300
|Lines: 12
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
|Message-ID: <u6*************@TK2MSFTNGP11.phx.gbl>
|Newsgroups: microsoft.public.dotnet.general
|NNTP-Posting-Host: host-233.86.64.87.ispkenya.com 64.86.233.87
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:143524
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|Hello,
|
|There are a number of Timer classes within the .NET framework. Am not very
|clear as to which component can be used, there is System.Timers.Timer,
|System.Windows.Forms.Timer, System.Threading.Timer for example.....any help
|will be appreciated as to which component is better for use in some cases,
|more than others.
|
|Thank you,
|Marise
|
|
|

Nov 22 '05 #2
Marise,

Which timer to use depends on the functionality you implement. Please refer
to the article in Visual Studio help:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbconServerBasedTi
mers.htm

It describes the differences and typical usage for these classes.

--
Victor Urnyshev [MSFT]
This post is "AS IS" with no warranties, and confers no rights.
--------------------
|From: "M. D'Costa" <me******@hotmail.com>
|Subject: Timer component in .NET
|Date: Wed, 25 Aug 2004 11:17:49 +0300
|Lines: 12
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
|Message-ID: <u6*************@TK2MSFTNGP11.phx.gbl>
|Newsgroups: microsoft.public.dotnet.general
|NNTP-Posting-Host: host-233.86.64.87.ispkenya.com 64.86.233.87
|Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
|Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.general:143524
|X-Tomcat-NG: microsoft.public.dotnet.general
|
|Hello,
|
|There are a number of Timer classes within the .NET framework. Am not very
|clear as to which component can be used, there is System.Timers.Timer,
|System.Windows.Forms.Timer, System.Threading.Timer for example.....any help
|will be appreciated as to which component is better for use in some cases,
|more than others.
|
|Thank you,
|Marise
|
|
|

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: brian | last post by:
I have an ASP.Net application that uses impersonation. This works fine for accessing/executing the application. However, the app utilizes a timer, that when fired uses the <machine>ASPNET...
1
by: M. D'Costa | last post by:
Hello, There are a number of Timer classes within the .NET framework. Am not very clear as to which component can be used, there is System.Timers.Timer, System.Windows.Forms.Timer,...
2
by: John David Thornton | last post by:
I've got a Windows Service class, and I put a System.Threading.Timer, and I've coded it as shown below. However, when I install the service and then start it in MMC, I get a peculiar message: ...
8
by: Supra | last post by:
how does timer control work in webform? i can only do in vb.net regards
10
by: Ryan | last post by:
I'm creating a website that monitors the status of servers using My.Computer.Network.Ping. I'm looking for a way to fire off my Ping() function every second or so. I see a Timer control...
4
by: Lemune | last post by:
Hello everyone. I'm using vb 2005. I'm creating program that run as service on windows. And in my program I need to use timer, so I'm using timer object from component. I try my source code on...
5
by: Tony Gravagno | last post by:
I have a class that instantiates two Timer objects that fire at different intervals. My class can be instantiated within a Windows Form or from a Windows Service. Actions performed by one of the...
3
by: | last post by:
Is it possible to have just a multithreaded sub procedure? What I need is a timer time_elapsed event (2 sec interval) send params to a sub that is multithreaded. I have a COM component used to...
4
by: Max | last post by:
This may be an elementary question but it's something I have not encountered in about 10 years writing code in VB 5 / 6 I have a timer that using the API checks if there has been a change to one...
2
by: Johnny Jörgensen | last post by:
I've got a process I want to run in a thread separate from my main application thread, so I've used a backgroundworker component, and in frmMain.Load I invoke the code using...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.