WebBrowser Read Combo Box

V

Vic Spainhower

Hello,

I am using the Web Browser Contol to populate a web page from a database. I
am having a couple of problems that I am really hoping someone may have a
solution.

#1 - I have not been able to send a mouse click to a web page. I got around
it in this particular instant by doing a WebBrowser.Navigate to the page
intended. This works but I would like to get a solution for those times when
this work-around may not work.


#2 - The page that is being populated has a state table combo box. I can't
just send the state name to a combo box because it only looks at the first
letter on the web combo box and of course the combo box is going to jump all
over the place without finding a match. I was thinking that if there is a
way to read the screen I could send the first letter of the state and then
loop until I find a match against the database. To do this I would need to
be able to read the contents of the combo box and determine if I have a
match.



Many Thanks!


Vic
 
Top