-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Jassi
Message 1 in Discussion

Hi All, 

I am currently developing a prototype which involves creating a COM Add-in using 
VB.Net, for MS Word 2003. 

As usual, I am creating few menu buttons under the File and Tool menus. These buttons, 
i am creating in the OnStartupComplete event of the COM Add-in's connect class. 

I am removing the created menu buttons, in the OnBeginShutdown event of the COM 
Add-in's connect class. 

Now my problem is that when I install the add-in and run MS Word, i can see the custom 
created buttons. But when i close the MS Word, the custom created buttons are not 
being deleted. I have checked this.... i.e. i un-installed the COM-Add-in and run MS 
Word...the earlier created custom menu buttons were there! ...... and as per logic, 
since Word is deleting them everytime COM Add-in is closed, they should have not been 
there ..... 

I tested whether the menu buttons are being deleted in the OnBeginShutdown....but they 
were...but some how...they were being deleted temporarily.....and not permanentlly. 

I wud like to mention here .. that I am using CommandBarControl and CommandBar objects 
to create the custom menu items. Also, I am using temporary=true parameter while 
adding the commandbarcontrol. 

So, can anyone help me....its very urgent and I have already wasted lot of time on it! 

Thanxs in advance for ur kind help!!! 

Jassi 
 


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to