Post by Nathan Lecompte on Jan 16, 2016 12:32:28 GMT 10
Did you initialize CEF?
Like this:
Imports CefSharp Public Class MyForm
Friend WithEvents Browser As New CefSharp.WinForms.ChromiumWebBrowser("http://www.techviewforum.com/") Public Sub New() InitializeComponent() If CefSharp.Cef.IsInitialized = True Then Else Dim set1 As New CefSettings set1.UserAgent = ("Mozilla/5.0 Windows NT 6.1 AppleWebKit/537.36 KHTML, like Gecko Chrome/45.0.2454.101 Safari/537.36 MyBrowserName 1.0.0.0") CefSharp.Cef.Initialize(set1) End If Me.Controls.Add(Browser) End Sub
End Class
|
|
Post by ranilwallace on Jan 16, 2016 12:35:43 GMT 10
yes but differently from what you did
Ranil, Lauve Tech
|
|
Post by Nathan Lecompte on Jan 16, 2016 12:55:17 GMT 10
How so? How did you do it?
|
|
Post by ranilwallace on Jan 17, 2016 4:51:55 GMT 10
Cef just placed it into my code when i installed it using nuget. Its the same as yours but without thr useragent part
Ranil, Lauve Tech
|
|
Post by Prezence on Jan 17, 2016 7:06:16 GMT 10
Make sure you're using .net framework 4.5 or above
Check out our website here. Check out AirBrowse here. Follow us on GitHub here.
|
|
Post by ranilwallace on Jan 17, 2016 10:05:02 GMT 10
I'll check that Prezence
Ranil, Lauve Tech
|
|
Post by ranilwallace on Jan 17, 2016 12:11:54 GMT 10
Ok guys I have did everything you said and its working perfectly. Thank you. One last thing though, i got some binaries for it but they are quite old. Do you guys have any links for version 45 binaries?
Ranil, Lauve Tech
|
|
Post by ranilwallace on Jan 17, 2016 12:16:11 GMT 10
Oh never mind. I got it. But the scrollbars look black and white ish and pixelated like. WHy is that?
Ranil, Lauve Tech
|
|
Post by Nathan Lecompte on Jan 17, 2016 18:26:44 GMT 10
lol no worries Not sure why the scrollbars are like that... The loading event is LoadingStateChanged
|
|
Post by ranilwallace on Jan 17, 2016 20:51:03 GMT 10
I dont have that event
Ranil, Lauve Tech
|
|