Re: Active box in word document

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Keith Giddings (keith_at_gpthame.com)
Date: 03/17/04


Date: Wed, 17 Mar 2004 12:23:33 +0100

Hi Wei-Dong

> For your first question, I'd suggest you can use the
> WindowSelectionChange event to monitor the selection change in the
> Active document of word.
> This way, you can know whether the use has selected the picture. If
> so, you can run the corresponding function in the add-in. If the
> add-in is not loaded, you will need to create one corresponding
> function in document macro and monitor the event. This kb article
> will help you some. 309294 HOW TO: Handle Word Events by Using Visual
> C++ .NET and MFC
> http://support.microsoft.com/?id=309294

Hmm, that will mean that whenever a user selects my image that I pop up a
dialog box. I've noticed the WindowBeforeDoubleClick event - I guess that I
can do a similar thing with that. I suppose that when the user selects a
number of objects in the word document that the SelectionChange event will
still fire and I think that it would then be offputting to the user to see
my dialog.

> For the second question, when one document is under editting, I don't
> think there is any way for us to disable the clipboard for copying
> the image. If you are going to distribute this file to others, in
> Word2003, you can use the new feature "Information Rights Management"
> to only give the read permission to the doc users, who will have no
> permission to modify or printing or copy this document so that the
> image will not be copied and pasted. The links below will provide
> more information for you on the IRM:
> Overview of Information Rights Management
> http://www.microsoft.com/office/ork/2003/six/ch20/ColA01.htm

So is IRM supported under Word 2000? I need whatever solution I use to work
under all versions of word (and eventually excel) from 2000 onwards. It
seems to me to be a big security hole that I can protect a document with a
password, but then a user can open the document and do a select all and
copy/paste to a new document, thus destroying the protection... Similarly
with an image that I can press shift Print Screen and then paste to an image
processing program.

Regards
Keith.



Relevant Pages

  • Re: code to unprotect sheet with password
    ... then how to enable the selection only of unlocked cells. ... ALSO protect it, with the same password? ... unprotect ...
    (microsoft.public.excel.programming)
  • Re: Linking 2 PCs to one monitor simultaneously
    ... selection. ... Currently I have one PC connected to the monitor via the digital input, ... then use the monitor's signal source selection ... I've used exactly that setup with both a Dell and an Iiyama monitor, ...
    (uk.comp.misc)
  • Re: Protecting drawings
    ... set the file to Read-Only using Windows Explorer. ... icon, and chose Protect. ... I double-click the line and the label gets ... then turn off From Selection ...
    (microsoft.public.visio.general)
  • Re: Linking 2 PCs to one monitor simultaneously
    ... selection. ... Currently I have one PC connected to the monitor via the digital input, ... then use the monitor's signal source selection ... I've used exactly that setup with both a Dell and an Iiyama monitor, ...
    (uk.comp.misc)
  • [SLE] 10.0 Install -- Packman??
    ... Only lingering issues is that the Samsung 1100df is unknown to the monitor ... selection. ... selecting the links2linux mirror, I can't install transcode due to the ...
    (SuSE)