Results 1 to 10 of 10

Thread: [RESOLVED] Setting a timer for ActiveX User control button to calculate pulse

Hybrid View

  1. #1
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Setting a timer for ActiveX User control button to calculate pulse

    2 Buttons, named:

    - cmdIncrement
    - cmdIncrement10

    The top of the form should have:

    VB Code:
    1. Option Explicit
    2. '
    3. Private WithEvents m_Timer As CountDownTimer
    4. '

    There is ni timer on the form.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Sep 2005
    Posts
    105

    Re: Setting a timer for User control button to calculate pulse

    Hey Dave,

    Have setup a form that has your code with your instructions and it still has the same error. Have attached it for you to have a look
    Attached Files Attached Files

  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Setting a timer for User control button to calculate pulse

    Quote Originally Posted by potatocake
    Hey Dave,

    Have setup a form that has your code with your instructions and it still has the same error. Have attached it for you to have a look
    Ya you need to name the class module, CountDownTimer
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width