Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to start any application from a java program  RSS feed

 
Pratik Khetia
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am designing a FTP program where the client should receive the file automatically and also open that file with the assosiated application.
For e.g.,
if there is *.doc file then it should start winword
if there is *.ppt file then it should start Power Point
if there is *.xls file then it should start MS Excel

How do I do that ?
thanks
Pratik
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the following thread http://www.javaranch.com/ubb/Forum1/HTML/002253.html is discussing that...
Remark: You shouldn't start the same topic twice in different forums...

------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!