Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. event of timer in VB6

event of timer in VB6

Scheduled Pinned Locked Moved Visual Basic
question
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jainiraj
    wrote on last edited by
    #1

    I have a text box and a timer and a button "stop" Is it possible that when "Fire" string is in textbox then t1_timer() event fire. Actually I have to send repeatedly a message when "Fire" is in Text box.and when stop button is clicked it stops fire event. How it can be????

    D 1 Reply Last reply
    0
    • J jainiraj

      I have a text box and a timer and a button "stop" Is it possible that when "Fire" string is in textbox then t1_timer() event fire. Actually I have to send repeatedly a message when "Fire" is in Text box.and when stop button is clicked it stops fire event. How it can be????

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Handle the Change event of the TextBox and check for the string you want. IF the string you want is there, enable the Timer at whatever interval you want. In the Click even tof the Button, disable the timer. This is very easy to do, and shows that you have no experience in VB at all. If this is the case, I seriously suggest dropping VB6 and picking up VB.NET before you waste a bunch of time on a lanugage that's been dead for quite some time now.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      T 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Handle the Change event of the TextBox and check for the string you want. IF the string you want is there, enable the Timer at whatever interval you want. In the Click even tof the Button, disable the timer. This is very easy to do, and shows that you have no experience in VB at all. If this is the case, I seriously suggest dropping VB6 and picking up VB.NET before you waste a bunch of time on a lanugage that's been dead for quite some time now.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        T Offline
        T Offline
        Tom Deketelaere
        wrote on last edited by
        #3

        Dave Kreskowiak wrote:

        that's been dead for quite some time now.

        It's not completely dead, from time to time it pops it's ugly head up and gives me head ache's. (Damn I hate maintaining legacy projects )

        D D 2 Replies Last reply
        0
        • T Tom Deketelaere

          Dave Kreskowiak wrote:

          that's been dead for quite some time now.

          It's not completely dead, from time to time it pops it's ugly head up and gives me head ache's. (Damn I hate maintaining legacy projects )

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          Phoenix the bird for programming.

          1 Reply Last reply
          0
          • T Tom Deketelaere

            Dave Kreskowiak wrote:

            that's been dead for quite some time now.

            It's not completely dead, from time to time it pops it's ugly head up and gives me head ache's. (Damn I hate maintaining legacy projects )

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            So do I. But, from MS' point of view, it's dead, buried and decaying.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups