axWebBrowser control accepting security certificates problem

Hi

< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 

I am using a axWebBrowser control to access HTML elements (from a https site) via a document model. I’ve got my head around the DOM side of things and I’m very happy with the way the elements are being presented to me. The problem is that I need to manually accept the security certificate via the security alert dialog.

 

Can I do this programmally

Thanks in advance.



Answer this question

axWebBrowser control accepting security certificates problem

  • Filip123

    The axWebBrowser control you are speaking of is not owned by the team that manages this forum.  You will most likely need to look for the answer to your question  elsewhere.  This forum is specifically for the System.Net namespace (including sub namespaces) in the .NET framework.

    Having said that, was the control written by Microsoft   If not, then you will most likely need to check with the company that wrote that control.  If it is by Microsoft, then give me more information about it (the name of the dll that it resides in, a link to the documentation for the control, etc) and I will see if I can find a contact or forum that you can use for help.



  • Alex Hall

    Hi

    < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 

    I am 90% sure that the control was written by Microsoft (COM component). This control resides in SHDocVw.dll.

     

    One of my problems is the lack of documentation.

     

    Thanks.


  • Ken Walters

    Yes!!! Being new to .Net I didn’t know there was a modern equivalent.
     

    Is it well documented Where do I start with using this control


  • Whatisid

    Everyone should be new to System.Windows.Forms.WebBrowser as it was offically released on Nov 5, 2005.

    I think you have tried this for ShDocVw.dll:
    - Create a new form in design mode
    - Drag and Drop the WebBrowser control from the toolbox
    - Show property of the this control.
    - High light any property and press help
    Furthermore,
    use F2 object browser seach for WebBrowser object and see all the property/methods.

    By the way, if the control was still under web client program while the server cert notification window has popup, could the web client program activate that window and use sendkey to accept   However, I believe the web client program will be blocked during the server cert notification window.

    Good luck in finding to way to program the web client to auto accept the server cert notification window.



  • Kasende

    If you have just one certificate, you can select form the internet options. Security - Custom Level – and look for “Don't prompt for client certificate” and change it to enable


  • GSM_GCV

    Will there be chance for your required function be provided in .Net 2.0 control System.Windows.Forms.WebBrowser


  • axWebBrowser control accepting security certificates problem