A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Determining if the Digitally Sign button is depressed



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old January 6th 08, 01:44 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 5
Default Determining if the Digitally Sign button is depressed

Ken,

Thanks, I had hoped that wasn't going to be it. I have tried numerous
times to enumerate the built in command bars of the envelope in
WordMail but I have been unable to access them. I only get back the
Mainmenu bar, not the "Standard" bar. I have no problem getting all of
the other toolbars, just not Standard. Do you know of a method to just
read the built-in command bar from the Envelope when WordMail is the
editor? I was hoping that there was a property buried somewhere, like
Importance, that captured the need for the MailItem to be digitally
signed. It would seem that since the email is not signed until after
the MailItem's Send event fires, then there must be some attribute on
the MailItem that tells Outlook to sign it.

Let's look at it from the other point of view: if within Outlook I
wanted to programmatically create an email (MailItem) from scratch and
tell Outlook to Digitally Sign it before it is sent, what would I need
to do? Is there a flag or method built into the MailItem or Inspector
that lets Outlook know to sign the message before it is sent?

I have tried OutlookSpy and code like the following to get the built-
in toolbar, but no luck.

Dim word = CType(Me.Inspector.WordEditor, Word.Document)

For Each i As CommandBar In word.CommandBars
For Each c As CommandBarControl In i.Controls
'check the control name, caption etc.



I have also tried monitoring the PropertyChanged and
CustomPropertyChanged events but they don't pickup when you change the
state of the button.

I appreciate the help.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
digitally sign menu option RipperT[_2_] Outlook Express 3 December 11th 07 02:47 AM
Determining the account of an email Sean Farrar (Intechrity) Outlook and VBA 5 March 29th 07 02:38 PM
Hash sign instead of pound sign! Nel Outlook Express 3 February 3rd 07 07:35 PM
determining Senders smtp address Paul Young Outlook and VBA 4 November 2nd 06 05:18 PM
Determining account being used Scott Outlook and VBA 2 January 25th 06 04:39 PM


All times are GMT +1. The time now is 03:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.