BillyDvd

I have a Outlook 2003 VSTO SE C# 2005 solution, with one piece missing!

When the New_Inspector event fires, I check to see what type it is (Appointment or Meeting)

If App then I set my var to it, else if meet then I set the Meet.GetAssoiciatedAppointment to my var.

Still doing good,

Now I add my custom command bar and button's.

Still good, all click events and other assorted methods and logic work as advertised.

Now here is the issue;

In the Inspector of Appointment Type there is a "Standard" CommandBar -

I have iterated all the button's on it and added the click event for them (One single event for all buttons)

I then check to see if the button that was clicked in the event matches

1 -> the ID or

2 -> the Caption

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

I believe the issue is that I want the 'Send' button captured but it is "Late" bound to the standard bar after the user clicks the Invite Attendees button!

Is there a work around to hook this button(the Send)

The objective here is to check all the Invitees to see if any match a "resource" and to check the type if it does to make sure it was added as such and if not, change the type to a resource. This I believe will solve the issue of my user sending an invite to a resource without actually checking to see if it available!

ANY IDEA'S ARE OPEN PLEASE PLEASE HELP!!!!!



Re: Visual Studio Tools for Office AppointmentItem 'Invite Attendees' clicked / 'Send' button now show's no click event for send!!!

Ji Zhou ¨C MSFT

Hi BillyD,

Could you give more information about what problem you are involved in Is the event of Send Button in Standard commandBar not fired Posting some codes here will also be helpful for that we can try to find a way to solve your problem.

Thanks

Ji






Re: Visual Studio Tools for Office AppointmentItem 'Invite Attendees' clicked / 'Send' button now show's no click event for send!!!

Sue Mosher - Outlook MVP

Ji, I think BillyD figured it out; see http://www.outlookcode.com/threads.aspx forumid=5&messageid=22987



Re: Visual Studio Tools for Office AppointmentItem 'Invite Attendees' clicked / 'Send' button now show's no click event for send!!!

Ji Zhou ¨C MSFT

Hi Sue,

Thanks very much :-)

Best Regards,

Ji