Questions

Opening Internet explorer in VB

Tags:
+
0 Votes
Locked

Opening Internet explorer in VB

shade78_uk
hi im new to this programing game can anyone pls help me ?

im using this code in microsoft VB 2008 but getting errors, what am i doing wrong.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Button1.Text = True Then
stAppName = %ProgramFiles%\Internet Explorer\IEXPLORE.EXE http://www.l2021.com/bbs
Call Shell(stAppName, 1)
Else
Button1.Text = False
Timer1.Enabled = True
End If
End Sub