Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
console application that would launch multiple Iexplore
Abraham John
Jan 9 2017 8:43 PM
215
Reply
Hi,
I am trying to develop a code snippet for my following requirement.
I am in need of writing a console application that would launch multiple Internet explorer instances and close them after page load is complete.
I would be scheduling this executable in windows task scheduler. I will have it scheduled multiple time as different tasks.
Executabel Name - URLHitter.exe
Task Scheduler Will look like where all refers to same exe
task1
task2
task3
task4.....
I would have google.com launched from all instances. However, the google.com opened by task1 should only be closed by a call from task 1 and not from anywhere else.
Similarly for other executables. They should not overlap during closure. Each executable should close only it's own internet explorer instances.
Can you help me on this? I have used Internet explorer components/used process ids to terminate, but none worked. Is there any way other than this that we can do?
Like When I launch one URL can i get a controlling system on the window that ties the executable with the window?IE.quit/process.id kill doesnt help. Pls note.
Abraham
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
combo box control
how to redirect on the same page when clicked on button.