Re: How to catch a KeyPress event in word
- From: "Gina" <gin@xxxxxxxxxx>
- Date: Fri, 11 Nov 2005 11:01:33 +0100
Jonathan...
oh ... oh ... dear ....
well .... nothing really I can do, can I....
NOPE
I am more or less happy with what I got right now - nothing more is
posssible
I got rid of the ctrl + s keypress by using Jean-Guy's code
ok ... so at this point I can stop spending more time on my strange idea
:-((
despite all ... thanks for your answer !!
have a nice weekend
Gina
"Jonathan West" <jwest@xxxxxxxx> schrieb im Newsbeitrag
news:%237DhRTq5FHA.2484@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Gina,
>
> If you are trying to devise a security scheme for Word such that documents
> can't be edited, let me tell you that nothing you can do within Word will
> prevent a sufficiently determined and resourceful user from breaking the
> security. For instance
>
> 1. Opening the document with Word set to High or Very High security will
> prevent all VBA code from running.
>
> 2. Inserting the document into a blank document will strip off all VBA
code.
>
> I can think of several other ways of breaking the security.
>
> I'm just trying to warn you off spending a lot of time and effort pursuing
> an unattainable technical solution to this.
>
> If a technical solution is not possible, then you have to consider other
> approaches - and this essentially consists of educating your users to
behave
> right. Then you don't *need* all this security.
>
> If you really want a document that can just be viewed and printed, then I
> suggest you buy a copy of Adobe Acrobat and convert it to PDF format and
> apply the appropriate security to the PDF file.
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
> Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
>
>
>
> "Gina" <gin@xxxxxxxxxx> wrote in message
> news:dl1il5$sv3$02$1@xxxxxxxxxxxxxxxxxxxx
> > Hi Jonathan.
> >
> > thanks for your answer .... I think the latter of your answer applies.
> >
> > what I am trying to do:
> >
> > in a document (new) generated by access and filled with data only two
> > things
> > are allowed for the user apart from looking at it ;-))
> > print it, close it and quit word application itself without giving the
> > possibility of saving it
> >
> > 1. as single printout
> > 2. as double printout
> > so this all works ... but keys like CTRL + S are still available
> >
> > I know it sounds strange but I decided it is the right thing - all
> > customisation should be avoided
> > and I try to think of all possibilities.
> >
> > Gina
> >
> > .
> > "Jonathan West" <jwest@xxxxxxxx> schrieb im Newsbeitrag
> > news:ud46x4j5FHA.1140@xxxxxxxxxxxxxxxxxxxxxxx
> >> Hi Gina,
> >>
> >> Are you trying to prevent people from accidentally doing the wrong
thing,
> > or
> >> are you trying to secure the document against unauthorised deliberate
> >> modifications?
> >>
> >> --
> >> Regards
> >> Jonathan West - Word MVP
> >> www.intelligentdocuments.co.uk
> >> Please reply to the newsgroup
> >> Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
> >>
> >> "Gina" <gin@xxxxxxxxxx> wrote in message
> >> news:dl0bj7$rns$03$1@xxxxxxxxxxxxxxxxxxxx
> >> > Hi all.
> >> >
> >> > I am trying to customize a word document so that a user is only
allowed
> > to
> >> > use custom buttons.
> >> > Anything else is hidden / disabled - that works alright ... apart
from
> >> >
> >> > 1. how can I detect/ avoid a keyPress ( CTRL + S ) in order for the
> >> > file
> >> > saveas dialog not to come up
> >> > when a word document is coming from template e.g. 'KD.dot' ?
> >> >
> >> > 2. how can I stop the user from possible disabling macros when
> >> > opening/closing my doc when template = KD.dot ?
> >> >
> >> > 3. do I have to think on anything else re my problem ?
> >> >
> >> > any help highly appreciated - like always
> >> >
> >> > thanks in advance
> >> >
> >> > Gina
> >> >
> >> >
> >>
> >
> >
>
.
- References:
- Re: How to catch a KeyPress event in word
- From: Jonathan West
- Re: How to catch a KeyPress event in word
- From: Gina
- Re: How to catch a KeyPress event in word
- From: Jonathan West
- Re: How to catch a KeyPress event in word
- Prev by Date: Re: How to catch a KeyPress event in word
- Next by Date: Re: Linking to Word
- Previous by thread: Re: How to catch a KeyPress event in word
- Next by thread: Re: How to catch a KeyPress event in word
- Index(es):
Relevant Pages
|