I am doing a VB 6.0 project and grabbing the DOM from an existing IE Window (no WebBrowser control, just mshtml library). I am successfully capturing events, but I can't figure out how to get a reference to the actual control and modify it if necessary. In other words...
Say there is a single IE instance open with a single document (I won't even worry about frames at this point). That document has a single input control of type text. The user types a letter in the control. I can capture the event (KeyDown, KeyUp, and KeyPress), but how do I figure out what control it is and modify the contents of it?
Thanks very much!!