473,422 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,422 software developers and data experts.

Disabling Ctrl + G: VBA code showing...MS Access 2003

Dököll
2,364 Expert 2GB
Hiya Fans!

By the time this afternoon ends I would have figured this out. I remember seeing a post or link somewhere about this (Googling thereafter)...

Can we disable control + g in Access 2003? I need to further hide the VBA code running. Looks like even though I set up a password so the code is not seen, or at least requires a password to be seen, Ctrl + G lets me see the code.

Got finger happy, hit keys, and found this out by accident just now.

Will post my finding if you hadn't seen this before then.

Super thanks, in a bit!

Dököll
Dec 12 '07 #1
13 10734
Rabbit
12,516 Expert Mod 8TB
Unchecking "Use Access Special Keys" under Tools>Startup will disable it for anyone who doesn't know about the Shift bypass. I think creating an mde from the file might do it though.
Dec 12 '07 #2
Dököll
2,364 Expert 2GB
Unchecking "Use Access Special Keys" under Tools>Startup will disable it for anyone who doesn't know about the Shift bypass. I think creating an mde from the file might do it though.
That's likely where I should be headed...Google lead me to Access keys, I agree these can be a start until then.

Any idea why I was not prompted to enter password when I hit Ctrl + G. Perhaps that too was overriden!

Thanks for your reply:-)
Dec 13 '07 #3
Rabbit
12,516 Expert Mod 8TB
Not a clue, seems like an oversight by microsoft.
Dec 13 '07 #4
Dököll
2,364 Expert 2GB
Not a clue, seems like an oversight by microsoft.
Well, here is my oversight...

I simply forgot to add the silly password back in. So Ctrl + G does nothing, I get a blank screen. Need to remember to lock it up after updating:-)

Still going with the idea of creating an MDE file, so nothing is modified.

Rabbit, I suppose we can close this thread.

Thanks for your input!
Dec 13 '07 #5
Rabbit
12,516 Expert Mod 8TB
Not a problem, good luck.
Dec 13 '07 #6
Dököll
2,364 Expert 2GB
Not a problem, good luck.
Here's something that came up. I did not want to add a new thread on it. In creating an MDE file, how does one archive data, or compact the database?

Just recently archived data and compacted. I may need to be archive again, say once it hits 10,000 + records. I am almost thinking it might be favourable to simply minimize access to certain functions and hope, like you said, noone figures out how to bypass keys. Do you agree?

This bit of info does not help figure out what to do in the case database again becomes massive: http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

I certainly love the idea of an MDE, but if I cannot access the tables somehow to manage the data, it may become an issue.

I worry because the version I will use to further modify forms and so on will be old news and new data will not be included there. Do you suspect doing away with accessing certain functions, designs should be the route? It'd be cool either way, just looking at options...

Have a great week-end!

Dököll
Dec 14 '07 #7
Rabbit
12,516 Expert Mod 8TB
I don't use mde's much but I don't think it stops you from compacting or moving data around. You just can't change the design and code.
Dec 14 '07 #8
Dököll
2,364 Expert 2GB
Hey Gang!

I have an option for this but need your input to see about re-enabling right-click function in the case I need to Filter for information on Access form.

Becuase I have disabled Special keys, right-click is disabled...

What are your thoughts?

Have a great new year!!!
Dec 28 '07 #9
ADezii
8,834 Expert 8TB
Hiya Fans!

By the time this afternoon ends I would have figured this out. I remember seeing a post or link somewhere about this (Googling thereafter)...

Can we disable control + g in Access 2003? I need to further hide the VBA code running. Looks like even though I set up a password so the code is not seen, or at least requires a password to be seen, Ctrl + G lets me see the code.

Got finger happy, hit keys, and found this out by accident just now.

Will post my finding if you hadn't seen this before then.

Super thanks, in a bit!

Dököll
  1. Create a Macro and Name it AutoKeys.
  2. Set the Macro Name to ^G (CTRL+G).
  3. Set the Action Argument to Beep.
  4. Now, anytime the CTRL+G Key combination is used, the User will only hear a Beep and the Default action of opening the Immediate Window will not occur.
Dec 28 '07 #10
Dököll
2,364 Expert 2GB
  1. Create a Macro and Name it AutoKeys.
  2. Set the Macro Name to ^G (CTRL+G).
  3. Set the Action Argument to Beep.
  4. Now, anytime the CTRL+G Key combination is used, the User will only hear a Beep and the Default action of opening the Immediate Window will not occur.
Will give that a whirl, sounds like it'll work, thanks!
Jan 9 '08 #11
ADezii
8,834 Expert 8TB
Will give that a whirl, sounds like it'll work, thanks!
You are quite welcome.
Jan 9 '08 #12
missinglinq
3,532 Expert 2GB
I believe, as Rabbit said, that the only thing an MDE does, besides the obvious of not allowing structural changes to objects (and anything in VBA that requires the form be in Design View to do is a structural change) is to cause an unhandled error to close the database!

Linq ;0)>
Jan 9 '08 #13
Dököll
2,364 Expert 2GB
Hey Guys!

Just reporting, after doing some snooping around!

In order to keep right-click function on, while modifying my Startup options, I must check "Allow Default Shorttcut Menus", if unchecked, right-click is disabled. All others should remain untouched.

Have a great week!

Dököll
Jan 14 '08 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Chris Mullins | last post by:
I've seen a bunch of people post that they had troubles with this, but never saw anyone post a working solution. Shift F2 = F12 Ctrl Shift F2 = Ctrl - This seems to work well, as it jumps...
10
by: chirs | last post by:
I have a code to disable ctrl-v (paste) on the 2nd box. The problem is that when I type ctrl-v, the text shows, then disappear after I release ctrl-v. How can I make it not to show in the box. In...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
1
by: Matthew Wells | last post by:
How do you prevent someone from using Ctrl+, (ctl + comma) or Ctl + . (Ctl + perios) to get to design view. I have all the normal properites turned off (Access special keys, F!!, etc) but nothing...
3
by: Matthew Wells | last post by:
I'm reposting because an idiot replied without reading the whole message. I've tried autokeys and it isn't working for this combination. Please read on. While in form view, how do you prevent...
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
12
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation...
11
by: EagleRed | last post by:
I am writing an ASP.NET 2.0 application that uses master pages. I have some pages that must not be cached on the client. In ASP.NET 1.1 I achieved this using metatags: <meta...
2
by: Gouri.Mahajan7 | last post by:
Hello, Can anybody please tell me how to disable the shortcuts of the internet explorer? I have hosted control on the web page and i want to give the inputs such as Ctrl+A, Ctrl+B and so on.....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.