wood burning stoves*
The moose likes Servlets and the fly likes HELP !!!! Disable Save As in MS Word 2000 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HELP !!!! Disable Save As in MS Word 2000" Watch "HELP !!!! Disable Save As in MS Word 2000" New topic
Author

HELP !!!! Disable Save As in MS Word 2000

Dave Donohoe
Ranch Hand

Joined: May 16, 2000
Posts: 73
Hi there,
I have a servlet that opens a document in word. It runs the WOrd Application & populates the text as I want it to do. I then save the document to a particular location.
I want to stop the user from Saving the Document to any other location than the one I choose.
Is it possible to Disable the "Save As" feature of MS Word?
I am using Windows 2000 & Word 2000.
Any ideas???
D
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Disable the saveAs feature of MSWord...Not that I am aware of. There might be a way to make it readOnly, that still will not stop them from saving it somewhere else though.

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

There is a way, but it involves using VBA to customize the way Word saves that particular document.

Which is beyond the scope of this site.

check out msdn.microsoft.com, or www.searchvb.com

Cindy Chan
Greenhorn

Joined: Dec 09, 2001
Posts: 4
Hi Dave
Would you like to share how you open up a word document using a servlet and populate it with text. My current project deals with something like this and currently I have no idea how to do this.
Thanks !
Dave Donohoe
Ranch Hand

Joined: May 16, 2000
Posts: 73
Hi Cindy,
Currently to do this I am using a Java Bean developed by someone in Germany.
Check out this site - http://www.must.de/Javactpe.htm
This tells you how to manipulate a word document from within Java.
If you have any more questions, feel free to mail me.
D
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP !!!! Disable Save As in MS Word 2000
 
Similar Threads
Java Api for MS Word Table Handling
Design document
How to open MS Word from Java
password protecting a MS word Document
Disable Save As in IE