Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping text change
Message
 
To
01/11/2012 12:21:40
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01556255
Message ID:
01556257
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform