Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 and Outlook (voting buttons) 1

Status
Not open for further replies.

bigbr

Technical User
Joined
Feb 8, 2003
Messages
2
Location
GB
Is it possible to add voting buttons to an Outlook e-mail created using Visual Basic6. Any suggestions gratefully received.
 
What is a "voting button"? Sorry to be of no help, but just curious as I haven't seen this one.......

The Microsoft mascot is a butterfly.
A butterfly is a bug.
Think about it....
 
A voting button is an option you can add to an Outlook e-mail which gives the recipient a choice of quick responses, such as yes, no, maybe.
 
Hi bigbr,

Assuming you are sending the e-mail through outlook automation you can add voting buttons like this (where olMail is your outlook mailitem):
Code:
olMail.VotingOptions = "Yes;No"
The part:
Code:
"Yes;No"
is your reply options. The example above will give Yes/No options. You can set your own options by typing the options you want seperated by a ; e.g.
Code:
olMail.VotingOptions = "Yes;No;I'm not sure;Can I get back to you?;I'd like to but I'm busy"
Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top