Re: How to catch a KeyPress event in word

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



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
> >> >
> >> >
> >>
> >
> >
>


.



Relevant Pages

  • Re: Want to code not macro Access 2007
    ... It's called Security enhancements -- thank the virus kiddies and other ... macros now, not VBA -- so the wizards give you macros instead of code. ... running potentially malicious macro or VBA code when the file is first ... docmd wont work unless I check the "option" security box" what gives? ...
    (microsoft.public.access.formscoding)
  • Re: How to catch a KeyPress event in word
    ... 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. ... Opening the document with Word set to High or Very High security will prevent all VBA code from running. ... as single printout ... "Jonathan West" schrieb im Newsbeitrag ...
    (microsoft.public.word.vba.general)
  • Re: Email back a survey form
    ... Sounds like a submit button with vba code of any kind may keep ... has their security set to low. ... Would there be a way to copy the form to another .doc file without the vba ... a data file associated with those responses separate from the form? ...
    (microsoft.public.word.vba.general)
  • Re: startign with VBA
    ... VBA code to edit the registry. ... At any rate, after editing the registry, you ... still have to close and reopen Excel to make the security changes effective. ...
    (microsoft.public.excel.programming)
  • Re: Hide Username when pc awakes
    ... system will begin to boot Windows XP Pro. ... There's an important element of security ... User IDs are never designed to be secret, ... Platform Software Development Kit that has GINA samples in it. ...
    (microsoft.public.windowsxp.security_admin)