|
-
December 30th, 2008, 02:19 AM
#1
Monitoring a Variable [VB.net 2008]
Hi
I am trying to make a program the will monitor if the certain variable changes.
lets say if the default value is 0, the program will just listen, but when the value changes to 1. something will happen.
here is what i have thought
Code:
Do Until Exit_button is clicked
If val != 0 Then
Execute Statement
End if
Loop
how can i do this? in VB.net if its just that, the program wont let me do anything. since it is busy with the endless loop.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|