Results 1 to 4 of 4

Thread: URGENT..........Please Read!

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    New Delhi
    Posts
    34

    Unhappy URGENT..........Please Read!

    Hey guyz.....i am in deep **** and i need a solution......
    the problem is like this :
    i have to connect to a running instance of Internet Explorer through my code.
    uptil now i can manage to get the Handles(hwnd) of all the Internet Explorer windows open on my PC ....now what i want to do is to Get and Internet Explorer object to connect to one of this running instance so that i can check for the busy property or any other to calculate the download time of any webpage etc...
    i hope u guyz can help me with this......if u need any more explanations please let me know....

    Regards and thnx in advance

    Amprat
    **** Happens!

  2. #2
    Lively Member
    Join Date
    Aug 2001
    Posts
    109
    can that even be done?

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    New Delhi
    Posts
    34
    Yes it can be done! i am preety much sure of it! see if you guyz can help!
    **** Happens!

  4. #4
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    If you didn't start the instance in your calling thread (and even if you did for IE) If you don't use C++ DLLS to control another application then you will NOT be able to do this....

    The problem you have is that you can get the

    hWnd of the IEFrameClass

    you cannot get however the

    ObjPtr to the object...

    If you could then you might be able to try to hack it into an IE object, using CopyMemory e.t.c but this would probably (definitely) fail because you don't own the process......


    Bottom Line....

    If you don't own it you can't take it over (subclass it - reroute the windows messages before they are handled)....without C++ jiggery pokery.....the most (pretty much) you can do is SendMessage's to it.....
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

Posting Permissions

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



Click Here to Expand Forum to Full Width