WebBrowser inside an Activex
Hi All,
Just a bit of background on what I am trying to achieve:
I have created an ActiveX control that hosts a webbrowser control. The complicated part is that I need to load the ActiveX component again in a web page. So the structure becomes like:
Internet Explorer open page mypage.html -> mypage.html has <object> tag for the custom activex -> the custom activex hosts a webbrowser component inside it.
I had to do it this way as I want to open MS-word inside the web page to allow editing functionality to user and also allow user to upload save the modified file back onto server. Any better suggestion to achieve the same task are also welcome.
The problem:
If am navigating the webbrowser control to another webpage as well which has a form in it (I tried "http://www.google.com/" as well). Even though I click on the submit button, no action is done on the form (i.e. no actual Post happening). The same concept works if I host the activex in a VB app form.
Any ideas?
Thanks in advance.
Samir
Re: WebBrowser inside an Activex
I tried this in C#. It didn't work for me either. I think it's for the same to-be-discovered reason. I read something that this WebBrowser control does not work in partial trust in .net runtime.
Don't know if this can ever be achieved.
Jason