creating links

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2004
Posts: 11
Reputation: teritori is an unknown quantity at this point 
Solved Threads: 0
teritori teritori is offline Offline
Newbie Poster

creating links

 
0
  #1
Jul 21st, 2004
Hello every1.

I'm having a tough time trying to make a button(when clicked) link or point to a partucular file(e.g setup file) and run that file within the same system.
Please help!

a little code will help.

thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 54
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: creating links

 
0
  #2
Jul 21st, 2004
If you mean an external file ... i.e, an exe file or like that .... then you should try
  1. Process p = Runtime.getRuntime().exec("c:\myprogram.exe");

:mrgreen:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC