File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Keeping File Handle to MS Word File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Keeping File Handle to MS Word File" Watch "Keeping File Handle to MS Word File" New topic

Keeping File Handle to MS Word File

Kevin Sullivan

Joined: Jun 19, 2002
Posts: 7
Ultimate Goal: Have a java application that controls all aspects of file retrieval, mutli access, and saving of a file while allowing MS Office programs to handle the viewing and editing of them. (ie prevent user from being able to open Word, find the document and bypassing the java application to work on the file)
What I think needs to happen but not sure if its possible:
In a java application that opens up a Word document (or excel or any other office file) is it possible for the java application to keep a handle on that file so when the user is done modifing the file (via MS Word, Excel, etc) and saves it, the Java application can handle the actual storage of the file?
User running a java application clicks on a button that opens up a text document in MS Word. The user makes some modifications to the document in Word and clicks save. The java application handles the saving processing.
I agree. Here's the link:
subject: Keeping File Handle to MS Word File
It's not a secret anymore!