what to do if i want to call out iexplore.exe when i click a button??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jjfat_jjfat
Posted On:   Thursday, November 29, 2001 12:35 AM

thanks!!

Re: what to do if i want to call out iexplore.exe when i click a button??

Posted By:   ciju_kurian  
Posted On:   Thursday, December 6, 2001 07:25 AM



hi,


In the event handler part of the
button add the following code and
make a try.



public void actionPerformed(ActionEvent e){


java.lang.Runtime rt1=Runtime.getRuntime();

try{

java.lang.Process p1= rt1.exec("iexplore.exe");
}

catch(Exception e){}

}


This should be okay,as i made it work like this.


Good luck,


Regards,
ciju
About | Sitemap | Contact