Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

making a url button, having problems

$
0
0
Hello Im new to this forum so im sorry if this is posted in the wrong place. I made a web browser in vb using visual studio 2013, but im having a problem (more of a 1st world problem type thing). im trying to take this part of the code,

Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
WebBrowser1.GoHome()
End Sub

and replace the .GoHome() with some sort of link that will take me to google whenever I click on the button that this code is written for, but nomatter what i try i cant get anything to work, i started vb 2hrs ago so its probably an easy fix that im missing. The reason that I want to change this is because the .GoHome() links to a weird 3rd party search engine, not google. If you can find a way to make the home page that .GoHome() links to be google then that would work aswell.

:):thumb: thanks for any help :thumb::)

Viewing all articles
Browse latest Browse all 688

Trending Articles



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