I'm having a weird issue with VB.net I am trying to add a cefsharp control on my form, but can't seem to find any way to do it.
The problem is that the code is not executed at all, i am not getting any errors or warnings, yet no message box is showing.
I have tried adding a try/catch block, and to open a message box in case of exception.
The app is executed and a clean form is being shown, no messagebox or anything.
If i remove entierly the try/catch block, it's showing the first message box.
Thanks
Imports CefSharp
Imports CefSharp.WinForms
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
MsgBox("start")
Me.WindowState = FormWindowState.Maximized
Try
Dim x As WebView
x = New WebView("http://www.google.ro", New BrowserSettings())
Catch ex As Exception
MsgBox("error")
End Try
msgbox("finished")
end sub