menu.
Yes...creating your own custom menu bar will remove the file->print ability.
what you do is make your own custom menu bar..and specify that menu bar in
the tools->start-up. (of course, in your menu bar..the file->print option
will be removed).
So...yes..you can most certainly remote the file-Print option from the menu
bar....by simply using your own custom menu bar in place of the ms-access
one. In fact, this is good user interface idea...as most users are
overwhelmed by the large number of options and choices that ms-access gives.
So, you get a nice user friendly application as a result.
However, the above will certainly allow you to disable the printing options
in ms-access...you now still have to deal with the print-key button on the
keyboard. This button copies the whole screen to the clipboard..and has
NOTHING to do with ms-access. If you whack print-screen, and then fire up
word and go edit->paste..you will see that I mean. In fact, this copy screen
is how we make all our documentation for the applications. So, for example,
the following article has some nice screen shots of ms-access..and also
shows some nice custom menus in use. (take a look..it will give you some
nice ideas about using a custom menu in place of the built-in ones).
http://www.attcanada.net/~kallal.msn/Articles/UseAbility/UserFriendly.htm
So...I suppose you could hope that users don't know about print screen
(obviously..you did not!).
You can find some software on the net that does disable the functions of
windows, but we are talking about something outside of ms-access. If you
broke my print screen key...I would call support..and ask them why my
computer does not work anymore. So, you need something that will modify the
way windows works...
Also, note what happens if I re-size the screen, and then on the right side
of my screen I am running word?..Now, if I hit print-screen, then the WHOLE
screen is copped...the left side will be your ms-access application..and the
right side will be word. In other words..ASSUMING you did have code to
disable the print screen..what happens if your application is still
displayed on the screen..but DOES NOT have the focus? In other words..the
keys being pressed are going to another application? If keys are going to
another application..then your code can't disable the print screen..can it?
However, there is a solution posted here that disables the print screen
button..but all you would have to do is make sure that the application does
not have the focus..and is displayed for print screen to work.
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Bas
ic/Q_20655962.html
Also..remember screen capture programs like snagit are VERY popular..and
people often download programs like snagit since they don't even know about
the windows built in print screen button. How will you disable programs like
snag-it?
Heck...even paint shop pro has a screen capture ability built in..and it
does not even use the print screen. So, even a lot of paint programs have
the ability to capture the screen...and once again you can't prevent it.
Of course..what happens if someone with a photo-graphic memory looks at your
screen?
It is basically my comptuer...and whatever I view on it I should be able to
print. If the users are allowed to see the data..then they kind of can print
it. Perhaps you need to prevent some users from ever seeing the data in the
first place?
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
(e-mail address removed)
http://www.attcanada.net/~kallal.msn