Re: Advice on timer project

Tech-Archive recommends: Fix windows errors by optimizing your registry



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






.



Relevant Pages

  • Re: Monitoring Machine Running Time
    ... I agree, John; however, I think it would be good to make the OP aware of the ... Dave Hargis, Microsoft Access MVP ... Also, if the OP is looking for sub second timing, the form timer event may ... Private lngStartTime As Long ...
    (microsoft.public.access.gettingstarted)
  • Re: Timer
    ... On 1 nov, 13:38, John Wilson ... Amazing PPT Hints, Tips and Tutorials-http://www.PPTAlchemy.co.uk http://www.technologytrish.co.uk ... I want to put a timer in my presentation so that when a certain time ... there that the timer is reset whenerver I change the slide. ...
    (microsoft.public.powerpoint)
  • Re: Timer
    ... On 1 nov, 18:08, John Wilson ... I want to put a timer in my presentation so that when a certain time ... there that the timer is reset whenerver I change the slide. ... Thanks- Ocultar texto entre aspas - ...
    (microsoft.public.powerpoint)
  • Re: Scrolling text in a stationary label help needed
    ... Actually it's not working properly John. ... I assume that you're setting the ScaleMode of both the Form and the Picture Box to vbPixels. ... The other thing, which is very important, is the fact that your code is still not actually running in the Timer, at least not in the way it is meant to. ... You do this *just once* inside the Timer event. ...
    (microsoft.public.vb.general.discussion)
  • Re: Advice on timer project
    ... event use any significant resource or is this part of the OS that's running ... just use a taskbar notify icon and place a popup message in the timer ... computer with an Outlook "New Mail Desktop Alert" style pop-up every 15 ... Aching Back John ...
    (microsoft.public.dotnet.languages.vb)