If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Attach digital Signature with code
I have a button on a win form that launches outlook and auto populates To:,
Subject:, Attachment:.... How can I attach digital signature so when users click the button, it attaches their signatures. Code Sample: Outlook.Application outlookApp = new Outlook.Application(); Outlook.MailItem message = (Outlook.MailItem)outlookApp.CreateItem(Outlook.Ol ItemType.olMailItem); message.Subject = attachName; message.To = msgTo;............... Thanks |
Ads |
#2
|
|||
|
|||
Attach digital Signature with code
There's nothing in the Outlook object model that supports digital signing.
If the users have a command bar button or ribbon control for signing you could call the Execute method on that control to sign but that's about it. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "andyoye" wrote in message ... I have a button on a win form that launches outlook and auto populates To:, Subject:, Attachment:.... How can I attach digital signature so when users click the button, it attaches their signatures. Code Sample: Outlook.Application outlookApp = new Outlook.Application(); Outlook.MailItem message = (Outlook.MailItem)outlookApp.CreateItem(Outlook.Ol ItemType.olMailItem); message.Subject = attachName; message.To = msgTo;............... Thanks |
#3
|
|||
|
|||
Attach digital Signature with code
How can I can call execute method on them? We do have command bar
button/ribbon control. "Ken Slovak - [MVP - Outlook]" wrote in message ... There's nothing in the Outlook object model that supports digital signing. If the users have a command bar button or ribbon control for signing you could call the Execute method on that control to sign but that's about it. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "andyoye" wrote in message ... I have a button on a win form that launches outlook and auto populates To:, Subject:, Attachment:.... How can I attach digital signature so when users click the button, it attaches their signatures. Code Sample: Outlook.Application outlookApp = new Outlook.Application(); Outlook.MailItem message = (Outlook.MailItem)outlookApp.CreateItem(Outlook.Ol ItemType.olMailItem); message.Subject = attachName; message.To = msgTo;............... Thanks |
#4
|
|||
|
|||
Attach digital Signature with code
You get that button (CommandBarButton) object, which has an Execute method.
You will need the ID for the CommandBarButton, to use with the Find method to instantiate that button. You can use a tool such as OutlookSpy (www.dimastr.com) to open an Inspector viewer on an open Inspector and then go to the CommandBars tab to find your button ID. I believe there's also a list of some ID's at www.outlookcode.com and sample code there to get ID's. I don't use a signing certificate for my emails so I don't know that ID myself. For ribbon controls you would use the ribbon XML references to find the idMso for that control in the type of Inspector you want to deal with (for example mail compose) and once you have that you can use the CommandBars.ExecuteMso method with the idMso to execute the ribbon control. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "andyoye" wrote in message ... How can I can call execute method on them? We do have command bar button/ribbon control. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Digital Signature Certificate | Andy Derbyshire | Outlook - General Queries | 1 | January 11th 08 12:44 PM |
Turn off Digital Signature | woodsdarren | Outlook and VBA | 3 | October 24th 07 03:00 PM |
Digital Signature Warning Msg | Rich in Yorktown | Outlook and VBA | 0 | December 29th 06 12:42 PM |
password digital signature | Sam | Outlook Express | 2 | June 8th 06 10:34 PM |
Requesting a Digital Signature on a form | ClarkJN | Outlook - Using Forms | 0 | March 23rd 06 10:42 PM |