>I have a robot which does something like this:
>
>
>oOriginator.Status.Text = "My test"
>
>
>This changes the text of a status textbox on the robot. So, it provides us a status on the actual task being executed, the loop control of the number of records being processed and so on.
>
>The fact is that we have about 1900 places containing that text in the Robot.exe application. After several years in production, there is an interesting to take action when such change happens. We would like to log also that in a table. So, from the Web interface, we would be able to get an overview of what is going on on the robot.
>
>Is there a way to have an event which will be executed when that change happens?
>
>The reason to ask the question is to be able to have an adjustment at one place so to log also in a table without having to change 1900 lines of code.
Textbox control has a TextChanged event that you can use for this
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges