Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27044

VS 2008 Web Browser in two forms?

$
0
0
Hello everyone, I am very confused with this. I have one web browser in "Form1." I added another form called "Form2." I am trying to have a button in "Form2" so that when someone clicks on the button, it will have a function in the web brower in "Form1." So when I added the code "webbrowser1.refresh" in "Form2" when I clicked on the button, I wanted it to have the web browser in "Form1" refresh. However, nothing happened with the web browser. Also, I tried many other codes with the button in "Form2" to give a function to the web browser in "Form1," but nothing happened. Is there an event I must call to get the two forms to interact? Thank you!

Viewing all articles
Browse latest Browse all 27044

Trending Articles



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