Customize the menu

Started by murugavelmsc, March 04, 2010, 11:00:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

murugavelmsc

Hi,

I develop a application in VISIO. In this, i have a customize menu and customize properties of the object (Shape). When i open the document means disable the customize menu.
How can i retrieve both this when i open the document. Please help me.

I have attached the file that i can used for creating the menus.

Thanks,
Murugavel

Paul Herber

A tad difficult to follow your banter, old chap!
The code in your attached document, is that a copy of the VBA code area?
You want to disable a menu? Which menu?
What do you want to retrieve?

P.S, at the line
Set visUIObj = Visio.Application.BuiltInMenus
first do a check on Visio.Application.CustomMenus
if it is nil then read Visio.Application.BuiltInMenus
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

murugavelmsc

Hi,

I want both the menus to be visible when the drawing document opened. But in my case only menu bars is visible. The context properties of the shape is not visbile while selecting the shape and right click for context properties.

Plz help me.

Thanks,
Murugavel