child window and its controls
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: child window and its controls

  1. #1
    Join Date
    Jan 2012
    Posts
    6

    child window and its controls

    how to manipulate controls on child window from an internet explorer using VB

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,090

    Re: child window and its controls

    That is a an Extremely, hugely, massively, VERY broad question. Please provide more details.

  3. #3
    Join Date
    Jan 2012
    Posts
    6

    Unhappy Re: child window and its controls

    Hi HanneSThEGreaT ,
    I am going to narrowate my question to the following, I wrote a smiple program to automate certain actions on an internet explorer window. I got to a point when a click on a textbox fires up another instance of IE named Calander , it has on it 2 dropdown boxes and links. The 2 dropdown boxes are to select the month and the year. The links are to select the day. Once one of the links is clicked on , the Calander instance closes , and the textbox on the previous window gets populated with the date.

    Now my question is how to set an object to IE Calander to manipulate both dropdown boxes and links ??

    thanks for help

  4. #4
    Join Date
    Jan 2012
    Posts
    6

    Re: child window and its controls

    Here is a picture of how the Calander looks like
    Attached Images Attached Images  

  5. #5
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,946

    Re: child window and its controls

    Looks like an ONLINE reference to someone else's calendar. Correct?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  6. #6
    Join Date
    Jan 2012
    Posts
    6

    Re: child window and its controls

    Is what I am asking about very hard to do ? I have not seen interests in my question.

    dglienna : I am just doing my work. It is a project I have to complete. thanks for your post anyhow ...
    Last edited by vbvbaquestions; January 15th, 2012 at 03:13 PM.

  7. #7
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,813

    Re: child window and its controls

    I can't be of much help as I have never saw a need to automate an internet explorer window. If I were to have a need to automote a web site I would write a browser for it.
    Always use [code][/code] tags when posting code.

  8. #8
    Join Date
    Jan 2012
    Posts
    6

    Re: child window and its controls

    I want to automate the task of fetching data from data base and populating the same data into a web application. So I need to find a way to control and manipulate popups/child windows. If there is a way to attach Hwnd of a child window to an object like ( set ie_obj_window = ie.hwnd ), I believe I am almost done .

  9. #9
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,946

    Re: child window and its controls

    That's one of the reasons that IE6 is being killed off. Browser security is supposed to prevent the bad guys from changing the user's browser
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  10. #10
    Join Date
    Jan 2012
    Posts
    6

    Re: child window and its controls

    I am not sure why some one is trying to make me feel asif I am doing something wrong.

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center