Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42732

Need help.... Went from WinForms to WPF. RE: WebBrowser - Click submit

$
0
0
So I've went from a winform with my app to a new WPF version because I've wanted to to a ribbon.

So I never used WPF before and pretty much took a crash course in the over the last couple of weeks. Everything has went smootly up until the last 48hrs.

All I need to do it click "submit" on a form/ webpage inside of the WPF webbrowser. (TALK ABOUT A NITEMARE!)

Old way that worked perfectly:

wbGetHost.Document.All("get_host_info").Focus() ' Focus on textbox in form
wbGetHost.Document.All("get_host_info").InnerText = rgServers.SelectedItem 'Set text of textbox
wbGetHost.Document.GetElementById("Submit").InvokeMember("Click") ' Click submit button



Everything works except the "click" event and I cant find anything on how to get it to work.

:sick:

Thanks for any help!

Adam

Viewing all articles
Browse latest Browse all 42732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>