473,385 Members | 1,372 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,385 software developers and data experts.

Advice on timer project

I want to write a quick app that will remind me not to slouch at the
computer with an Outlook "New Mail Desktop Alert" style pop-up every 15
minutes or so.

What I'd like advice on is the best method of timing and displaying the
pop-ups that would have the lowest performance impact for other running
applications?

Best regards

Aching Back John
Aug 4 '06 #1
4 1486
John,

Depending on what version of Visual Basic or Studio you're using, you could
just use a taskbar notify icon and place a popup message in the timer event
to popup every 90000, which should be 1000 = 1 second, 60000 = 1 minute,
times 15 = 90000 for a 15 minute timer.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"John" wrote:
I want to write a quick app that will remind me not to slouch at the
computer with an Outlook "New Mail Desktop Alert" style pop-up every 15
minutes or so.

What I'd like advice on is the best method of timing and displaying the
pop-ups that would have the lowest performance impact for other running
applications?

Best regards

Aching Back John
Aug 4 '06 #2
Hi Michael,

Thanks for your reply.

Sorry, should have mentioned what I'm using (VS2005 Pro). Does the timer
event use any significant resource or is this part of the OS that's running
anyway?

Thanks again

John

"eSolTec, Inc. 501(c)(3)" <eS*************@discussions.microsoft.comwrote
in message news:EC**********************************@microsof t.com...
John,

Depending on what version of Visual Basic or Studio you're using, you
could
just use a taskbar notify icon and place a popup message in the timer
event
to popup every 90000, which should be 1000 = 1 second, 60000 = 1 minute,
times 15 = 90000 for a 15 minute timer.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"John" wrote:
>I want to write a quick app that will remind me not to slouch at the
computer with an Outlook "New Mail Desktop Alert" style pop-up every 15
minutes or so.

What I'd like advice on is the best method of timing and displaying the
pop-ups that would have the lowest performance impact for other running
applications?

Best regards

Aching Back John

Aug 4 '06 #3
John,

Create a new project. In the project, add a notifier Icon. Set opacity of
form to 0%, add a timer and an incon to the notifier. In the double click
event of the icon notifier, doubleclick even place this code:

timer1.enabled = True (1000 = 1 second x 60 = 60000 x 15 =900000)

Set timer value to 900000 and set the enabled value to False
In the timer eventfired place:
MsgBox("John sit up straight and don't slouch in your chair",
MsgBoxStyle.OkOnly, "Situp John")
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"John" wrote:
Hi Michael,

Thanks for your reply.

Sorry, should have mentioned what I'm using (VS2005 Pro). Does the timer
event use any significant resource or is this part of the OS that's running
anyway?

Thanks again

John

"eSolTec, Inc. 501(c)(3)" <eS*************@discussions.microsoft.comwrote
in message news:EC**********************************@microsof t.com...
John,

Depending on what version of Visual Basic or Studio you're using, you
could
just use a taskbar notify icon and place a popup message in the timer
event
to popup every 90000, which should be 1000 = 1 second, 60000 = 1 minute,
times 15 = 90000 for a 15 minute timer.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"John" wrote:
I want to write a quick app that will remind me not to slouch at the
computer with an Outlook "New Mail Desktop Alert" style pop-up every 15
minutes or so.

What I'd like advice on is the best method of timing and displaying the
pop-ups that would have the lowest performance impact for other running
applications?

Best regards

Aching Back John


Aug 4 '06 #4
Perfect. Many thanks Michael. Not only is my posture better already but
you've taught me about the notify icon into the bargain!

Have a great weekend

Best regards

John

"eSolTec, Inc. 501(c)(3)" <eS*************@discussions.microsoft.comwrote
in message news:57**********************************@microsof t.com...
John,

Create a new project. In the project, add a notifier Icon. Set opacity of
form to 0%, add a timer and an incon to the notifier. In the double click
event of the icon notifier, doubleclick even place this code:

timer1.enabled = True (1000 = 1 second x 60 = 60000 x 15 =900000)

Set timer value to 900000 and set the enabled value to False
In the timer eventfired place:
MsgBox("John sit up straight and don't slouch in your chair",
MsgBoxStyle.OkOnly, "Situp John")
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"John" wrote:
>Hi Michael,

Thanks for your reply.

Sorry, should have mentioned what I'm using (VS2005 Pro). Does the timer
event use any significant resource or is this part of the OS that's
running
anyway?

Thanks again

John

"eSolTec, Inc. 501(c)(3)" <eS*************@discussions.microsoft.com>
wrote
in message news:EC**********************************@microsof t.com...
John,

Depending on what version of Visual Basic or Studio you're using, you
could
just use a taskbar notify icon and place a popup message in the timer
event
to popup every 90000, which should be 1000 = 1 second, 60000 = 1
minute,
times 15 = 90000 for a 15 minute timer.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"John" wrote:

I want to write a quick app that will remind me not to slouch at the
computer with an Outlook "New Mail Desktop Alert" style pop-up every
15
minutes or so.

What I'd like advice on is the best method of timing and displaying
the
pop-ups that would have the lowest performance impact for other
running
applications?

Best regards

Aching Back John



Aug 4 '06 #5

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

Similar topics

24
by: sundew | last post by:
Hi all, I am developing an open source DHTML project named Wednus Window. http://wednus.com Wednus Window is a DHTML Web-Application Windowing System. It shell websites/web-applications with...
2
by: source | last post by:
I have a timer control in a NT service project. I set the the Enable property of the timer to TRUE in the Constructor of my class. The tick event never gets fired when I debug my NT service (I...
5
by: Dhilip Kumar | last post by:
Hi all, I have developed a windows service using the windows service project template in VS.NET. I have used three controls in the service, a timer, performance counter and a message queue...
32
by: John Salerno | last post by:
My first project when I started learning C# was to make a little timer to tell me when my laundry was done :) and I thought it would be fun to convert this to Python. Here's what I came up with...
10
by: Bishman | last post by:
Hi, I have a form application that needs to query a DB at a set timed interval and then refresh the form with values received from the DB. Simple enough. My design releated questions are .......
15
by: Scott M. | last post by:
Hi, I'm an old VB6 guy just starting out in VB.Net using Visual Studio Express. I want to build a simple console app that will create a simple text file every 10 minutes. I can create the file...
11
by: Hotrod2000 | last post by:
I'm quite new to programming but I'm having problems getting a timer to work in visual studio.net I've created a timer on a form, enabled it and then typed the following code (from the mdsn...
16
by: Peter Oliphant | last post by:
Note that although this involves SAPI, it is more a question about Timers and event handlers. I wrote a Speech Recognize handler (SAPI), and put some code in it to enable a Timer. It would not...
4
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Hi, i have a main thread an another worker thread. The main Thread creates another thread and waits for the threads signal to continue the main thread. Everything works inside a ModalDialog and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.