Group:  Microsoft Word ยป microsoft.public.word.oleinterop
Thread: Disable Control-C and clipboard events programatically?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Disable Control-C and clipboard events programatically?
"Adam Right" <adam[ at ]right.com> 27.04.2006 12:20:43
Hi,

I am using office word interop in my project which is being developed by C#
and .Net Visual Studio 2005. How can i disable word document from being
copied by the users? The users can only see the document but they must not
modify or copy the document. Is there a solution for this? Thanks...


Re: Disable Control-C and clipboard events programatically?
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 28.04.2006 12:55:57
Hi Adam,

[Quoted Text]
> I am using office word interop in my project which is being developed by C#
> and .Net Visual Studio 2005. How can i disable word document from being
> copied by the users? The users can only see the document but they must not
> modify or copy the document. Is there a solution for this?
>
No really satisfactory one, no. Word was developed as and remains to this day
a *word processor*: it's main function is to ENABLE editing files :-)

To get the level of "protection" you describe, you'd do better to convert the
Word document to PDF format. Pretty much everyone, these days, has access to
Adobe Reader.

Of course, there's nothing to stop anyone from printing a document, then
scanning it back in...

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

Re: Disable Control-C and clipboard events programatically?
JDog 14.07.2006 04:38:46
you could protecte the document with wdAllowOnlyFormFields level

such as doc.Protect (wdAllowOnlyFormFields)

"Cindy M -WordMVP-" wrote:

[Quoted Text]
> Hi Adam,
>
> > I am using office word interop in my project which is being developed by C#
> > and .Net Visual Studio 2005. How can i disable word document from being
> > copied by the users? The users can only see the document but they must not
> > modify or copy the document. Is there a solution for this?
> >
> No really satisfactory one, no. Word was developed as and remains to this day
> a *word processor*: it's main function is to ENABLE editing files :-)
>
> To get the level of "protection" you describe, you'd do better to convert the
> Word document to PDF format. Pretty much everyone, these days, has access to
> Adobe Reader.
>
> Of course, there's nothing to stop anyone from printing a document, then
> scanning it back in...
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net