How can I open VB on Internet Explorer?
![qa-featured](https://www.techyv.com/sites/default/users/superadmin/qa-featured-300x270.png)
Can someone help me by providing the code to use to be able for me to open VB using Internet Explorer?
![](https://techyv.com/sites/default/2016/10/techpedia_logo.png)
Can someone help me by providing the code to use to be able for me to open VB using Internet Explorer?
Maybe this can be a way to your task:
Private Sub Command1_click()
ExecLink https://www.google.com/?gws_rd=ssl, vbNormalFocus
End Sub
Private Sub ExecLink(Url As String, VbAppWinStyle)
Shell “explorer.exe” & Url & “”, style
End Sub
Hopefully this will be what you have been searching for and might be helpful for you.
Good luck with your work.
Here is a code sample to open Internet Explorer in VB
Private Sub BtnIE_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnIE.Click
Dim IExplorer As Object = CreateObject("InternetExplorer.Application")
IExplorer.Visible = True
IExplorer.Navigate("www.google.com")
End Sub