How to access IHTMLDialog
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: How to access IHTMLDialog

  1. #1
    Join Date
    Aug 2013
    Posts
    35

    Unhappy How to access IHTMLDialog

    I am writing a program to auto login to a website. But when password is wrong a dialog box appears.
    I am not able to quit the Internet explorer. How to access the dialog box and if possible access the DOM
    of the dialog box

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,286

    Re: How to access IHTMLDialog

    You can detect and intercept the dialog using a combination of Win32 APIs and Active Accessibilty.

  3. #3
    Join Date
    Aug 2013
    Posts
    35

    Re: How to access IHTMLDialog

    There is no way to access the DOM of the dialog box?

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,286

    Re: How to access IHTMLDialog

    Quote Originally Posted by shjdr7 View Post
    There is no way to access the DOM of the dialog box?
    If it were in your process, it would be possible, but's it's not in your process. You can inject a dll into the browser's process space (i.e. write a browser add-on) and possibly access the DOM.

    However, what I described earlier allows you to access the dialog using existing APIs that don't required a browser add-on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center