Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Dave Donohoe
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic