Connecting Tech Pros Worldwide Help | Site Map

Custom Menus Overwirtten

Karl Irvin
Guest
 
Posts: n/a
#1: Nov 13 '05
I distribute an A 2000 app as a mde.

On a few customers, my custom menus are overwritten. The top menu is
generally there but the choices on the menus are gone or replaced by
something else.

I can't figure this one out. Any ideas on what may be causing this? It
happens on machines with A 2000 and A 2003, Win Home and Win XP. I've yet to
see a pattern but it happens on about 3 or 4% of the users machines.




Rick Brandt
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Custom Menus Overwirtten


Karl Irvin wrote:[color=blue]
> I distribute an A 2000 app as a mde.
>
> On a few customers, my custom menus are overwritten. The top menu is
> generally there but the choices on the menus are gone or replaced by
> something else.
>
> I can't figure this one out. Any ideas on what may be causing this? It
> happens on machines with A 2000 and A 2003, Win Home and Win XP. I've
> yet to see a pattern but it happens on about 3 or 4% of the users
> machines.[/color]

Did you modify a built in menu or did you totally create a new one? Mods to
built in menus stay on your machine whereas new menus and toolbars are
stored inside the file.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


Karl Irvin
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Custom Menus Overwirtten


I created the menus from scratch. On 90% + of the installs the menus work
fine.



"Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
news:rOgue.665$5w3.338@newssvr11.news.prodigy.com. ..[color=blue]
> Karl Irvin wrote:[color=green]
>> I distribute an A 2000 app as a mde.
>>
>> On a few customers, my custom menus are overwritten. The top menu is
>> generally there but the choices on the menus are gone or replaced by
>> something else.
>>
>> I can't figure this one out. Any ideas on what may be causing this? It
>> happens on machines with A 2000 and A 2003, Win Home and Win XP. I've
>> yet to see a pattern but it happens on about 3 or 4% of the users
>> machines.[/color]
>
> Did you modify a built in menu or did you totally create a new one? Mods
> to
> built in menus stay on your machine whereas new menus and toolbars are
> stored inside the file.
>
> --
> I don't check the Email account attached
> to this message. Send instead to...
> RBrandt at Hunter dot com
>
>[/color]


Rick Brandt
Guest
 
Posts: n/a
#4: Nov 13 '05

re: Custom Menus Overwirtten


Karl Irvin wrote:[color=blue]
> I created the menus from scratch. On 90% + of the installs the menus
> work fine.[/color]

I have had one similar experience. On an app I distribute to around 300
users I had a custom menu with about 3 or four items directly on the bar and
several other sub-menus that would drop down from the main menu. On ONE
user's laptop the sub-menus all would drop down with a single "Other"
displayed and no sign of the menu items that should have been there.

I naturally suspected that the file was corupt but I could replace the file
with a known good one and after it was copied to his machine the menus would
work once or twice and suddenly revert to displaying "Other" again. The
items that were directly on the top level of the bar always worked and none
of the shortcut menus in the app were affected.

I never did figure it out. We reinstalled Office and applied all patches
and updates. I eventually replaced the menu with one that had a single
top-level item that invoked a shortcut menu. This basically produced a
vertical version of the same menu which I actually liked a bit better
anyway.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




Albert D. Kallal
Guest
 
Posts: n/a
#5: Nov 13 '05

re: Custom Menus Overwirtten


You don't mention how you setup your menus, and how you hide the built-in
ones.

I don't use any code, but simply use the tools->startup menu to set this up.

I have a working sample here that does the above, and hides all of the menus
with NO code.
grab the 3rd example...ms-access interface hidden...

http://www.members.shaw.ca/AlbertKal...s/DownLoad.htm


However, I have also seen your problem crop up, and as you say, quite rare.
My only guess right now is perhaps the user made some custom menus of their
own (not very many people do that), and they set the allow moving, allow
showing, and allow hiding to false. In other words, you can't change the
menus they made. Further, I am assuming that these settings where applied to
built-in menus, since custom ones go with YOUR application.

The above is just speculation on my part..but that my best guess.

I would assume then that the solution to this would be check the built-in
menu bar collection, and change the flag of any menu that has allow changes,
allow hiding etc set. I don't have solution handy that does the above...and
I have to run right now, but I will see if I can check if those menu
settings can be changed via code.......

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal


Closed Thread