I'm glad you were able to find a solution by using a textbox, but just to expand on the subject a bit, if the textbox class didn't exist, the way to achieve the result you were after would have been by creating a class that would store your variable, and adding a custom event to react when that variable is changed through a class property.

Here is how you can create custom events: http://www.codeproject.com/Articles/...lass-in-VB-Net

Hope this helps.