View Single Post
  #7  
Old August 25th 08, 02:05 PM posted to microsoft.public.outlook.program_addins
amanat via OfficeKB.com
external usenet poster
 
Posts: 4
Default Command Bar Button not working --Inspector Wrapper

Hey Ken,
Thanks again for replying back, But unfortunately I am not able to craete a
commnadbar button? Can you please look in the code once again.I really want
to do it but nothing is working out for me. I will be glad for any help.
thanks


Ken Slovak - [MVP - Outlook] wrote:
At module level in the Inspector wrapper:

Dim blnMenuExists As Boolean

In Activate():

If Not blnMenuExists Then
InitButton

blnMenuExists = True
End If

That calls InitButton only once, which then calls CreateMenu. You needed no
changes to CreateMenu.

Hey Ken ,
Thanks for quick reply, Can you please guide me in detail as to what

[quoted text clipped - 64 lines]

Please , I really need your help.Thanks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200808/1

Ads