Re: Advice on timer project
- From: eSolTec, Inc. 501(c)(3) <eSolTecInc501c3@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 Aug 2006 08:17:02 -0700
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)" <eSolTecInc501c3@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:EC2860C1-600B-4B9D-92C3-455AFEC7F435@xxxxxxxxxxxxxxxx
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
- Follow-Ups:
- Re: Advice on timer project
- From: John
- Re: Advice on timer project
- References:
- Advice on timer project
- From: John
- Re: Advice on timer project
- From: John
- Advice on timer project
- Prev by Date: Re: Listview columnheader question
- Next by Date: Re: Unique an array of strings
- Previous by thread: Re: Advice on timer project
- Next by thread: Re: Advice on timer project
- Index(es):
Relevant Pages
|