event of timer in VB6
-
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????
-
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????
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 -
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 KreskowiakDave 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 )
-
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 )
-
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 )
So do I. But, from MS' point of view, it's dead, buried and decaying.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak