Question

  • Creator
    Topic
  • #2161649

    Opening Internet explorer in VB

    Locked

    by 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

All Answers

Viewing 0 reply threads