Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

opening a word doc

 
raghu ram
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to open a word doc by clicking on a submit button from a mentioned file path
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what is your question? Give us a specific question, show us your work so far. Just telling us you want to do this and providing nothing else isn't likely to get a good response.
 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use Runtime interface's getRuntime() method to carete its object
and use exec() methos of it which returns Process object mentioned your path in that method argument
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic