1
Answer

Exception- Unable to get window handle for WebBrowser Control

jaya joshi

jaya joshi

13y
3.8k
1
Hi,

I am using webbrowser control in C# as HtmlEditor. And calling that webbrowser in Wpf window form host. My html pages are shown in webbrowser control. I have one button to add html and on click of that I am initializing that webBrowser(HtmlEditor) again. While I am trying to do so sometimes this exception comes:

"TargetInvocation exception" and "Unable to get window handle for WebBrowser Control. Windowless ActiveX control not Supported"

Please Help how to resolve it. 
Answers (1)
0
Shashank Srivastava

Shashank Srivastava

NA 1.4k 247k 11y
hello Franco, 

I am not sure what makes it so difficult to insert duplicate entries. Make sure the 'name' column is not set to 'unique' or 'primary'.

If problem persists, would like to have a look on the code.
0
franco

franco

NA 5 2.7k 11y
is there other way to make a little easier to understand?

thanks again
0
Satyapriya Nayak

Satyapriya Nayak

NA 53k 8m 11y
http://stackoverflow.com/questions/11971264/multiple-mysql-records-with-same-name-different-id