none
having trouble with vbScript RRS feed

  • Question

  •     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            CreateObject("wscript.shell").run("Spotify.exe")
        End Sub

        Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
            CreateObject("wscript.shell").run("firefox.exe")
        End Sub
    End Class

    The error is line:1

    Char:5

    error:expected statement

    code:800A0400

    Friday, June 22, 2018 10:33 PM

Answers

All replies