473,320 Members | 1,993 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,320 software developers and data experts.

Shortcut menu change problems in A2K

I have some code that adds entries to the "Module Compiled" popup
menu. Works fine in A97. You can open a module, right click, and the
new entries are there for you to click. I converted it to A2000, and
reapplied the new entries. But now when you open a module and right
click (in A2K), the new entries are nowhere to be seen.
If (while in the database window) you click on View, Toolbars,
Customize, Toolbars tab, tick the Shortcut Menus box, then select the
Module menu, ModuleCompiled - you can see the new entries are there.
So they appear to have been added to the "Module Compiled" menu OK.
But if you open a module, click on View, Toolbars, Customize you seem
to get a different toolbar from A97. It has only got Debug, Edit,
Menu Bar, Shortcut Menus, Standard, UseForm. And if you then check on
Shortcut Menus you only get entries for Forms, Code Windows, and Misc.
This toolbar doesn't sem to have an equivalent in A97, but it's
obviously the one in force when you design a module.
I'm new to A2K and obviously missing something fundamental here ... ?
Nov 12 '05 #1
3 2689
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A2K and higher versions split the development environment into 2
environments: Access objects and VBA. Earlier versions had both of
those in one development environment. You'll have to put your
customized pop-up menu in the VBA environment.

MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP5WLOIechKqOuFEgEQKBBwCg6alEJr/RFWyMg46Bf3UOhEQssscAoN+5
U0wn7Kkw3fIQqbytFEkEBIMO
=rorj
-----END PGP SIGNATURE-----

Terry Bell wrote:
I have some code that adds entries to the "Module Compiled" popup
menu. Works fine in A97. You can open a module, right click, and the
new entries are there for you to click. I converted it to A2000, and
reapplied the new entries. But now when you open a module and right
click (in A2K), the new entries are nowhere to be seen.
If (while in the database window) you click on View, Toolbars,
Customize, Toolbars tab, tick the Shortcut Menus box, then select the
Module menu, ModuleCompiled - you can see the new entries are there.
So they appear to have been added to the "Module Compiled" menu OK.
But if you open a module, click on View, Toolbars, Customize you seem
to get a different toolbar from A97. It has only got Debug, Edit,
Menu Bar, Shortcut Menus, Standard, UseForm. And if you then check on
Shortcut Menus you only get entries for Forms, Code Windows, and Misc.
This toolbar doesn't sem to have an equivalent in A97, but it's
obviously the one in force when you design a module.
I'm new to A2K and obviously missing something fundamental here ... ?


Nov 12 '05 #2
OK I understand that now. But it still looks like the VBA environment
in A2K is missing the "Custom" command - which means you cannot
execute a vba function from the module window like you could in A97.
To put it more clearly, in the A97 customise dialog box (and in the
A2K access Objects environment) you could select "File" under
categories and the very top Command available would be "Custom".
You could drag this into a toolbar and under properties set the name
of a vba function.
You can't do this in the A2K vba environment. The Custom command is
missing.
And why have they left the Module entries under the Access Objects
shortcut menu anyway? As you have pointed out, you can no longer
invoke module shortcut menus from the Access Objects environment, so
they go nowhere, don't they?
Anyway it's a real letdown if I can't use a custom, home grown command
while viewing inside a module - I had several labour saving tools in
A97 that were saving heaps of development time in A97 ...

MGFoster <me@privacy.com> wrote in message news:<VW**************@newsread4.news.pas.earthlin k.net>...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A2K and higher versions split the development environment into 2
environments: Access objects and VBA. Earlier versions had both of
those in one development environment. You'll have to put your
customized pop-up menu in the VBA environment.

MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP5WLOIechKqOuFEgEQKBBwCg6alEJr/RFWyMg46Bf3UOhEQssscAoN+5
U0wn7Kkw3fIQqbytFEkEBIMO
=rorj
-----END PGP SIGNATURE-----

Terry Bell wrote:
I have some code that adds entries to the "Module Compiled" popup
menu. Works fine in A97. You can open a module, right click, and the
new entries are there for you to click. I converted it to A2000, and
reapplied the new entries. But now when you open a module and right
click (in A2K), the new entries are nowhere to be seen.
If (while in the database window) you click on View, Toolbars,
Customize, Toolbars tab, tick the Shortcut Menus box, then select the
Module menu, ModuleCompiled - you can see the new entries are there.
So they appear to have been added to the "Module Compiled" menu OK.
But if you open a module, click on View, Toolbars, Customize you seem
to get a different toolbar from A97. It has only got Debug, Edit,
Menu Bar, Shortcut Menus, Standard, UseForm. And if you then check on
Shortcut Menus you only get entries for Forms, Code Windows, and Misc.
This toolbar doesn't sem to have an equivalent in A97, but it's
obviously the one in force when you design a module.
I'm new to A2K and obviously missing something fundamental here ... ?

Nov 12 '05 #3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've never created special tools for handling VBA modules, so . . . .

I have Access XP & I can customize my VBA toolbars by right-clicking
the VBA toolbar. When the Customize dialog box opens there is a
CommandButton for New toolbars. I'd guess that's where one would
create VBA pop-up menus.

HTH,

- --
MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP5b4xYechKqOuFEgEQKhvwCcDopKJWTeSLaO0QDJtMsufy t+jyQAoK6B
qvNFcjc3SnYinwYTt/GMBTFl
=zeHF
-----END PGP SIGNATURE-----

Terry Bell wrote:
OK I understand that now. But it still looks like the VBA environment
in A2K is missing the "Custom" command - which means you cannot
execute a vba function from the module window like you could in A97.
To put it more clearly, in the A97 customise dialog box (and in the
A2K access Objects environment) you could select "File" under
categories and the very top Command available would be "Custom".
You could drag this into a toolbar and under properties set the name
of a vba function.
You can't do this in the A2K vba environment. The Custom command is
missing.
And why have they left the Module entries under the Access Objects
shortcut menu anyway? As you have pointed out, you can no longer
invoke module shortcut menus from the Access Objects environment, so
they go nowhere, don't they?
Anyway it's a real letdown if I can't use a custom, home grown command
while viewing inside a module - I had several labour saving tools in
A97 that were saving heaps of development time in A97 ...

MGFoster <me@privacy.com> wrote in message news:<VW**************@newsread4.news.pas.earthlin k.net>...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A2K and higher versions split the development environment into 2
environments: Access objects and VBA. Earlier versions had both of
those in one development environment. You'll have to put your
customized pop-up menu in the VBA environment.

MGFoster:::mgf
Oakland, CA (USA)


Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CR | last post by:
I want to change the target in the shortcut in the User's Programs Menu in the setup project. I want the shortcut to point to an exe on our local network. I've been doing this in VB6 and it works...
10
by: Lex | last post by:
I am writing a C# app that has a Menu. Some of the menu items will have short cuts that do not exist in the Shortcut enum. I would like the custom shortcuts to appear on the menu but as far as I...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
5
by: Steven | last post by:
I have some text boxes on a form in MS Access 2000. When I right click in them I don't get any shortcut menu at all. I want the normal cut, copy, and past menu to come up. In the "Startup", I...
0
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
1
by: stinehelferw | last post by:
I need a right-click menu on a form list control with combobox controls. I used View->Toolbars->Customize to create a toolbar. I added ComboBox through commands tab. I set properties to Popup...
0
by: Jim Devenish | last post by:
I have successfully added shortcut menus to Forms but I am now having difficulty when I attach a shortcut menu to a text control. I have a shortcut menu entitled 'CalendarEntries' with one command...
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.