Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / August 2005

Tip: Looking for answers? Try searching our database.

prevent bypass key on startup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RipperT - 23 Aug 2005 21:56 GMT
I have a form set to load at startup that has code in its Load event thus:

Private Sub Form_Load()
DoCmd.OpenForm "frmLogOff", windowmode:=acHidden

End Sub

frmLogOff runs in the background and allows me to gently log users off. Of
course, a savvy user can bypass this with the shift key at startup. Is there
any way around this?

Many thanx,

Rip

Signature

Ripper T Smith
rippertsmith<nospam>@comcast.net

Klatuu - 23 Aug 2005 22:21 GMT
See AllowBypassKey Property in VBA Editor help.  It give detailed info on how
to do this.

> I have a form set to load at startup that has code in its Load event thus:
>
[quoted text clipped - 10 lines]
>
> Rip
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.