I've tried several methods but can't seem to successfully send keys to the "Choose File to Upload" box that pops up when the browse button is clicked. I am using the webbrowser control in VB 2008 on an windows 7 pro machine. My last attempt was:
Private Sub TimerTest_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TimerTest.Tick
AppActivate("Choose File to Upload")
The timer is set to fire 5 seconds after the "browse" button has been clicked - The thing about it is I have it looping every 5 seconds - to see if it will tab into an area on filedialog window, but it doesnt - yet when i close the filedialog window and the timer fires, it generates an error - most likely due to the fact that it is actually finding the "Choose File to Upload" but either is not giving it proper focus or sendkeys are not working for some reason. Help with this or another effective method would be appreciated.