trzesniakj
asked on
Controlling IE via process
Hi all,
Thank you all for all the help you've been so far !
I now know how to start IE via a process in VB.NET. I also can make it start up with a certain web page and then do my processing of that page with window handles, etc.
But what I still need to know is once that process is up and running (IE) and I have the process object/ID, how can I give IE another URL and tell it go to that page as if the user interactively typed in a new URL and hit GO. If that can be done, how do you also detect the page is completely done loading/rendering ?
For each page I need to display and process, I do NOT want to do the following: start a process with IE with the web page displayed, do my processing, and kill the process...and repeat that for every page. Since a process is already started with IE, I'd rather just use it for the next page.
Any ideas ?
Thanks,
John
Thank you all for all the help you've been so far !
I now know how to start IE via a process in VB.NET. I also can make it start up with a certain web page and then do my processing of that page with window handles, etc.
But what I still need to know is once that process is up and running (IE) and I have the process object/ID, how can I give IE another URL and tell it go to that page as if the user interactively typed in a new URL and hit GO. If that can be done, how do you also detect the page is completely done loading/rendering ?
For each page I need to display and process, I do NOT want to do the following: start a process with IE with the web page displayed, do my processing, and kill the process...and repeat that for every page. Since a process is already started with IE, I'd rather just use it for the next page.
Any ideas ?
Thanks,
John
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/browser_control_node_entry.asp
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/browser_control_node_entry.asp
The above URL contents will give you detailed description/help/tutorial/
Hope this helps.
Have a nice day!