I'm trying to create a simple webbrowser that automatically opends a html file named "Index.html" found in the same folder the application is run.
This is the code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WebBrowser1.Navigate(@".\index.html")
End Sub
End Class
It does not work, I always get an "Expression expected" error. What am I doing wrong?