Hi,
I have a simple form with an HTMLUIcontrol in it.
The Form code is like this:
Public Class Form1
Public MyUri As Uri = New Uri("https://www.google.com/")
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
HtmluiControl1.LoadHTML(MyUri)
End Sub
End Class
But the Form does not load at all.
The Sample code from the help system writes this line -> Public MyUri As Uri = New Uri("https://www.google.com/")
AS -> Private MyUri As Uri = New Uri("https://www.google.com/")
But VS 2019, Vb.NET does not permit a Private declaration like that in the form ??
Something is out of place here.
The HTMLUI wont load.
Please Help
Thanks
Regards
Ashutosh