Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to create a Script which gets the Instance of an Internet Explorer already running .

Is it possible to get the instance ?
Posted

Follow the thread on this site: http://www.tek-tips.com/viewthread.cfm?qid=886987&page=356[^]. This should give you a couple of ideas on how to proceed.

Best Regards,

-MRB
 
Share this answer
 
Comments
Rick Shaub 11-May-11 9:58am    
Yours is also very good!
 
Share this answer
 
Comments
Manfred Rudolf Bihy 11-May-11 9:54am    
Great link, thanks! 5+
Strictly speaking, the question makes no sense. What do you mean by the "instance"? You can get an instance of the process handle in the memory space of the calling process; you can also get a HWND of the main window, if any. That's pretty much all you can do. You can manipulate with this windows and even simulate input from keyboard and mouse. You cannot access process parameters or trigger any processing.

Did you know that all processes in the system are highly isolated? They even run in different address spaces. All the addresses and handles are different, even those representing shared and physically identical objects (which you cannot get in this case, except HWND and process handle).

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900