|
-
November 8th, 2007, 02:11 PM
#1
which object/method to add a Word menu item
Hi Friends,
After searching in the Visual Studio object-browser I try to asked you.
My goal is to write VB code that adds a menu item into the MS-Word menu
like spellingcontrol, in order to invoke an activeX. So i would like tho know which object and/or method to address.
regards
Gerie
-
November 8th, 2007, 02:41 PM
#2
Re: which object/method to add a Word menu item
Which version of Office? Take a look at the MSTO' developer page
-
November 9th, 2007, 03:34 AM
#3
Re: which object/method to add a Word menu item
office version 2003, I use Visual Studio 2005 the write the VB code in.
The Object name (which I found in Word) is called CommandBars but
I can not find that object within VS-2005 Object Browser
Last edited by gerie1th; November 9th, 2007 at 10:49 AM.
-
November 13th, 2007, 02:12 AM
#4
Re: which object/method to add a Word menu item
afther a while I learned that i missed some basic
knowledge of VB itself. I'had to add the desired
default namespaces by:
> solution explorer -> properties -> references -> Add
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|