AxWebBrowser questions

I'm writing an app that uses the AxWebBrowser on Form2. When the user clicks a button on Form1, it opens Form2, navigates to a login page, submits the user's login info, navigates to another page after login is successful, then brings that WebBrowser to the front. The problem that I'm encountering is that I need to allow the user to have forward and back functionality, but not to be able to return to the login page. Is there a way to reset the start page of a web browser after it has navigated elsewhere

Also, is there a way to disable the popup menu on a right-click

Thanks in advance.


Answer this question

AxWebBrowser questions

  • Débil

    the context menu .....

    wb.IsWebBrowserContextMenuEnabled=False



  • swapnil katare

    Thanks, Renee! That works for the WebBrowser control, but not the AxWebBrowser. That's probably not a problem though. I can just use WebBrowser instead. The only problem there is getting popups to open in a new form, rather than the default browser. I found code for doing that with the AxWebBrowser, but not the WebBrowser. Is that possible

  • flw

    OEJ,

    I honestly don't know. I'm pretty familiar with the properties of the webbrowser control and I can't think of any that are going to do that.

    I hope some else can answer.

    Renee



  • bobsmith

  • AxWebBrowser questions