Re: AxShDocVw and DragOver



Hi Roy,

Thanks for your feedback.

Yes, I have done some test in VB6.0, it seems that VB6.0 usercontrol can
intercept WebBrowser's messages without any problem. I am not sure why
VB6.0 does not go with Win32 messags processing model. However, I suspect
that because VB6.0 is based on COM, which is easy for interprocess
communication, so maybe WebBrowser internally delegate the drag&drop
messages to the underlying parent usercontrol. However, for .Net
usercontrol, it is not a COM control, so there is no build-in support for
this.

Currently, for this issue, I think we have 2 options:
1. just use the VB6.0 usercontrol to wrap the webbrowser control, then
place all the drag&drop function code in VB6.0 usercontrol side. At last,
in .Net winform, we can add the entire VB6.0 usercontrol in the .Net Form,
and use it.
2. go with the COM interop IDOCHostUIHandler interface to react to the
webbrowser drag&drop events.

I think #1 is much simpler than #2 option. Thanks
===============================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

.



Relevant Pages

  • RE: WebBrowser Problems in Thread
    ... webbrowser control and launch webbrowser activities in a startmethod. ... I set up a Windows application project and create a usercontrol. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • RE: WebBrowser Problems in Thread
    ... I set up a Windows application project and create a usercontrol. ... When I click button1, the webbrowser ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • webbrowser control deactivating the form
    ... I have an active Form. ... I dynamically add a UserControl to the Form. ... I know it's the WebBrowser control because this happens right after ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: After losing focux, Webbrowser loses user position in page. - Impossible?
    ... > usercontrol on it and this usercontrol contains a WebBrowser control. ... > When the user switches to another application and then switches back, ... > User is entering data in a textbox on a web form in my WebBrowser control. ...
    (microsoft.public.vb.general.discussion)
  • Re: After losing focux, Webbrowser loses user position in page. - Impossible?
    ... > usercontrol on it and this usercontrol contains a WebBrowser control. ... > When the user switches to another application and then switches back, ... > User is entering data in a textbox on a web form in my WebBrowser control. ...
    (microsoft.public.vb.controls)

Loading