Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: 8 Nov 2005 21:36:54 -0800,    group: microsoft.public.word.vba.customization        back       


Not able to call a function from custom menu item that is added in word menu(File)   
Hi,

We are in the process of building VSTO 2005 customizations for MS Word
2003.
One of our requirements is to add menu items to both custom menus (say
MyMenu) and existing menus (say File)

Scenario 1:

We create a menu called MyMenu after Help menu in Microsoft Word 2003.
We add TestMenuItem under MyMenu and call a function which displays a
message box in TestMenuItem's click event

The function is getting called and the message is displayed.

Scenario 2:

We add TestMenuItem under File Menu in Microsoft Word 2003 and call a
function which displays a message box in TestMenuItem's click event

But the function is not getting called.

No Exceptions are displayed.

Can someone tell me what should be done in order for the function to
get called.

Thanks,
Jayashree
date: 8 Nov 2005 21:36:54 -0800   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us