Advice on timer project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    #1

    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


  • eSolTec, Inc. 501(c)(3)

    #2
    RE: Advice on timer project

    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
    >
    >
    >

    Comment

    • John

      #3
      Re: Advice on timer project

      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)" <eSolTecInc501c 3@discussions.m icrosoft.comwro te
      in message news:EC2860C1-600B-4B9D-92C3-455AFEC7F435@mi crosoft.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
      >>
      >>
      >>

      Comment

      • eSolTec, Inc. 501(c)(3)

        #4
        Re: Advice on timer project

        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.OkO nly, "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)" <eSolTecInc501c 3@discussions.m icrosoft.comwro te
        in message news:EC2860C1-600B-4B9D-92C3-455AFEC7F435@mi crosoft.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
        >
        >
        >
        >
        >
        >

        Comment

        • John

          #5
          Re: Advice on timer project

          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)" <eSolTecInc501c 3@discussions.m icrosoft.comwro te
          in message news:570C5693-0676-4DAB-98BA-2EFC10F1B456@mi crosoft.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.OkO nly, "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)" <eSolTecInc501c 3@discussions.m icrosoft.com>
          >wrote
          >in message news:EC2860C1-600B-4B9D-92C3-455AFEC7F435@mi crosoft.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
          >>
          >>
          >>
          >>
          >>
          >>

          Comment

          Working...