aspose file tools
The moose likes Swing / AWT / SWT and the fly likes How to stop running IE's exe from Java application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "How to stop running IE Watch "How to stop running IE New topic
Author

How to stop running IE's exe from Java application

Javed Akhtar
Greenhorn

Joined: Dec 20, 2000
Posts: 18
Hello Everybody,
I am having a java application,which has two buttons viz "RUN" and "Stop".When I click Run-button it opens a site
say http://www.hotmail.com in IE as I am running IEs exe
with statement
Runtime runtime = Runtime.getRuntime();
runtime.exec("explorer http://www.hotmail.com");
It works fine. But How to solve following problems
1. I want to stop same exe when I click button "Stop".How to do it ?
2. I want complete address which is displayed in IE after it opens the respective site.For Example When I open hotmail site
as shown above,it opens a login page and in IEs' addressbar it displays address http://lc3.law5.hotmail.passport.com/cgi-bin/login
(If you simply type http://www.hotmail.com, you can see above address in addressbar when it opens a login page)
and I wants to access these address in my java application.
How to do it?
Kindly help me regarding above two problems as early as posible.
Kindly help me as early as posible.
Thanks
Javed
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to stop running IE's exe from Java application
 
Similar Threads
To stop running exe/Communicate with running exe
This web site was hacked!!!!
Track domain changes
INculde url into page
To stop running exe/Communicate with running exe