Rank: Advanced Member Groups: Member
Joined: 8/26/2021 Posts: 47
|
Using WebBrowser/WebView control (2024.0.96) in C# WinForm project, In the WinForm, I put a WebControl on it, and then, at runtime, I bind the webview to the web control as:
private EO.WebBrowser.WebView webview; public WinForm() // Constructor for WinForm { webview=new EO.WebBrowser.WebView(); webview.Create(webControl1.Handle); }
private void WinForm_Load(object sender,EventArgs e) // Form Load event { webview.LoadHtml(html).WaitOne(); //html is a valid HTML string already }
But, at run time, Exception is thrown: Method not Found: 'Void EO.WinForm.WebControl.set_WebView(EO.WebBrowser.WebView);'
How to do with it?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This does not make sense. Can you reproduce the same problem if you run it on a different computer?
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 8/26/2021 Posts: 47
|
It runs fine at other machine. Maybe it is caused by "damaged" dll files on that specific environment. Thanks for reply.
|