Solved

Visual Basic 2008 - Timer Control

Posted on 2008-10-31
2
5,835 Views
Last Modified: 2013-11-10
Hi

I need to runa function at certain times during the day. Is it possible to do this using the Timer control in Visual Studio 2008
0
Comment
Question by:murbro
2 Comments
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22850456
When you set an interval for timer control it will raise an event at particular interval. Inside the event handler check the time and call the function if it is time to execute the method. you have to set the timer interval appropriately.

Check out this link to know how to use timer control
http://www.c-sharpcorner.com/UploadFile/mahesh/WorkingwithTimerControlinCSharp11302005054911AM/WorkingwithTimerControlinCSharp.aspx
0
 

Author Closing Comment

by:murbro
ID: 31512055
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Disable extension 8 38
Error handling in asp.net site 5 25
.NET 2008 VB and C# 6 27
VB.NET 2008 - SQL Timeout 9 24
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question