Close Form After Voting

D

DavidW

When I receive a meeting request (standard Outlook functionality) the message
closes automatically after I select either Accept, Decline etc.

I have created a custom form and added voting buttons to it but when the
recipient receives the message it remains open after they have selected a
voting option. The user has to manually close the message. The problem that
this presents is that some users cannot remember whether they have voted or
not when they re-read the message a later date.

What I would like to achieve is:

a) for the message to automatically close when the user selects a voting
option
b) to include some sort of indication on the message that states whether the
user has responded to the message

Is this possible?

Thanks
 
S

Sue Mosher [MVP-Outlook]

a) Outlook version? There are bugs with the Close method in both current versions.

b) Outlook already does that with the infobar.
 
D

DavidW

Hi Sue,

We are using Outlook 2003. I'm away from the office at the moment so I'll
have to check the infobar when I get back.

Thanks
David
 
D

DavidW

Thanks Sue, I'll test that out.


David

Sue Mosher said:
You'd need to put this statement in the Item_CustomAction event handler:

Item.Close 0

BUT there is a bug that you may need to call Microsoft to get a hotfix for before you can use that. See http://www.outlookcode.com/article.aspx?id=55, under Post-SP2 Problems.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top