PC Review


Reply
Thread Tools Rate Thread

can no longer hide code using password

 
 
Bob L.
Guest
Posts: n/a
 
      24th Mar 2006
For some reason my .mdb application no longer hides my vba code when the
password is set. That is it used to be that when the password was set you
couldn't see any of the code. Now when I open the application and go to
the vbeditor (via a button I have on a toolbar) the code is completely
visible whereas in the past you would have to enter the password to see it.
If I try to do something (like set a reference) the password dialog box
opens at that time.

The code that I run just to secure the database before closing it with the
password set includes this:

ChangeProperty "AllowBypassKey", DB_Boolean, False
ChangeProperty "AllowSpecialKeys", DB_Boolean, False
ChangeProperty "AllowBuiltInToolbars", DB_Boolean, False
ChangeProperty "Allowfullmenus", DB_Boolean, False
ChangeProperty "Allowtoolbarchanges", DB_Boolean, False
ChangeProperty "apptitle", DB_Text, mytitle
ChangeProperty "StartupShowDBWindow", DB_Boolean, False
ChangeProperty "AllowBreakIntoCode", DB_Boolean, False

Anyone know what could be wrong as it used to work fine? I am running both
2000 and 2003 and recently applied the the 2003 SP2. Regardless of which
version I use, I have the problem.

TIA


 
Reply With Quote
 
 
 
 
Bob L.
Guest
Posts: n/a
 
      24th Mar 2006
Found it myself. Forgot I had cleared the lock project for viewing box.
Duh!!!


"Bob L." <(E-Mail Removed)> wrote in message
news:wZUUf.617950$(E-Mail Removed)...
> For some reason my .mdb application no longer hides my vba code when the
> password is set. That is it used to be that when the password was set you
> couldn't see any of the code. Now when I open the application and go to
> the vbeditor (via a button I have on a toolbar) the code is completely
> visible whereas in the past you would have to enter the password to see
> it. If I try to do something (like set a reference) the password dialog
> box opens at that time.
>
> The code that I run just to secure the database before closing it with
> the password set includes this:
>
> ChangeProperty "AllowBypassKey", DB_Boolean, False
> ChangeProperty "AllowSpecialKeys", DB_Boolean, False
> ChangeProperty "AllowBuiltInToolbars", DB_Boolean, False
> ChangeProperty "Allowfullmenus", DB_Boolean, False
> ChangeProperty "Allowtoolbarchanges", DB_Boolean, False
> ChangeProperty "apptitle", DB_Text, mytitle
> ChangeProperty "StartupShowDBWindow", DB_Boolean, False
> ChangeProperty "AllowBreakIntoCode", DB_Boolean, False
>
> Anyone know what could be wrong as it used to work fine? I am running
> both 2000 and 2003 and recently applied the the 2003 SP2. Regardless of
> which version I use, I have the problem.
>
> TIA
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista 64 Auto Hide Taskbar no longer works. No.Thanks@Here.com Windows Vista General Discussion 0 16th Oct 2008 11:44 PM
Outlook 2003 - Hide When Minimized is no longer working jld0013 Windows XP 3 14th Jun 2008 01:29 AM
Code to show/hide sheet to asterisk the password Newman Emanouel Microsoft Excel Programming 1 10th Apr 2008 09:54 AM
How do I hide a worksheet in Excel and use a password to un-hide . =?Utf-8?B?RGNodW5n?= Microsoft Excel Misc 3 2nd Dec 2004 06:24 AM
Excel password but cant hide the sheets before entering password cakonopka Microsoft Excel Programming 1 30th Jan 2004 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:07 AM.