Re: Word Addin

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,

This newsgroup is about vba, not VB.NET.

I would guess that your customization context when you install your menus is
normal.dot (the default). This is bad practice. This is virus-like behavior.
I would guess that you are installing the actions for the menu in the
customization context of your first document. Thus your functionality is
stored in your first document but your menus are installed in the
application.

If you can, create a custom document template for your documents, with your
menus and functions. Then have your users create documents based on your
template. Those documents will have your menus and functions.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Praful" <Praful@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B7D7F1A9-8B0E-4471-B229-963B8E202FAF@xxxxxxxxxxxxxxxx
> Hello All,
>
> I am making a Word Add-in in VB.NET. I am willing to have my own Menu Item
> in the Menu Bar like File, Edit, Etc and under my Menu item i will be
> having
> some more items as File->New, Edit->Copy, etc.
> Now i am getting 2 problems:
> 1/ When I run the program for 1 document things are fine but when i open
> more than 1 document simultaneously than I did not get that menu working
> (menu is shown but its not functioning) in other documents than the 1st
> document. I have solved this problem by creating the menu item at
> AppObj_WindowActivate function but this function is called whenever the
> document is activated even i minimize or maximize the document.
>
> 2/ When I uninstall the package that I install then the Menu Item is not
> removed. Its functionality are removed but with that the menu item should
> also be deleted which is not deleted. So i have to manually remove it so
> that
> it is not visible later on.
>
> Please help me with these 2 problems as I am in great trouble.
>
> GS


.



Relevant Pages

  • HELP: Various keyboard shortcuts and menu items no longer working
    ... I'm using VS.NET 2003 EA and periodically I will lose bits of functionality, ... like the "Find In Files" or the "Configuration Manager." ... menus or keyboard shortcuts or whatever, ... 2003 without clobbering my VS.NET 2005 install? ...
    (microsoft.public.vsnet.general)
  • Re: Displaying Full Menus for MDE files on PC without Access installed
    ... MDE files will not run on a PC that does not have Access ... install, I can't tell you if what you see is standard or not. ... > which allows full menus to be displayed because users want to be able to ... > functionality, I ...
    (microsoft.public.access.conversion)
  • RE: [fw-wiz] Annoying pop-ups
    ... >>leave a hole in their heads from the time they install or plug-in. ... are not always inclined to review such functionality. ... > to some extent, for the soft warm LAN not the cold, hard Internet. ... > installing some personal firewall software like ZA?) ...
    (Firewall-Wizards)
  • Re: Resource Information and Emails
    ... its good to see the functionality in action for ... Do you have a "Workgroup" command in the Tools menu? ... Yes I did but can't find the menu option to use the feature :-( ... Did you install the WGSetup.exe file? ...
    (microsoft.public.project)
  • RE: [fw-wiz] Annoying pop-ups
    ... I've long advocated that vendors make folks shoot themselves in ... >leave a hole in their heads from the time they install or plug-in. ... are not always inclined to review such functionality. ... installing some personal firewall software like ZA?) ...
    (Firewall-Wizards)