|
-
Dec 4th, 2001, 04:06 AM
#1
Thread Starter
Member
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
-
Dec 4th, 2001, 11:41 AM
#2
Lively Member
-
Dec 4th, 2001, 11:30 PM
#3
Thread Starter
Member
Yes it can be done! i am preety much sure of it! see if you guyz can help!
-
Dec 5th, 2001, 05:35 AM
#4
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|