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

Hi, ken, GetState problem again, come in this post please?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 5th 09, 10:29 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default Hi, ken, GetState problem again, come in this post please?

I remembered that you told me you had never return incorrect state use
CommandBarButton::GetState while outlook editor is used. Could you please
show me your code snippet? or your code flow to get button's state, my
purpose is get states of "Sign" and "Encrypt" button state currently. After
get them, i will create my toolbar on the mail editor dialog!

--
Message posted via http://www.officekb.com

Ads
  #2  
Old June 5th 09, 02:45 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Hi, ken, GetState problem again, come in this post please?

I don't do anything special, I just read State from the button object
variable. In VBA code if the button is _button then just _button.State.

--
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


"ryotyankou via OfficeKB.com" u48591@uwe wrote in message
news:9723a4e17133a@uwe...
I remembered that you told me you had never return incorrect state use
CommandBarButton::GetState while outlook editor is used. Could you please
show me your code snippet? or your code flow to get button's state, my
purpose is get states of "Sign" and "Encrypt" button state currently.
After
get them, i will create my toolbar on the mail editor dialog!

--
Message posted via http://www.officekb.com


  #3  
Old June 8th 09, 03:02 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default Hi, ken, GetState problem again, come in this post please?

Do you read state in the frist InspectorActive event? If it is, it really
strange for me, maybe i should send a mail to MS. By the way, how could i
send this issue to MS, i had never do this before, thanks in advance, ken.

Ken Slovak - [MVP - Outlook] wrote:
I don't do anything special, I just read State from the button object
variable. In VBA code if the button is _button then just _button.State.

I remembered that you told me you had never return incorrect state use
CommandBarButton::GetState while outlook editor is used. Could you please
show me your code snippet? or your code flow to get button's state, my
purpose is get states of "Sign" and "Encrypt" button state currently.
After
get them, i will create my toolbar on the mail editor dialog!


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200906/1

  #4  
Old June 8th 09, 04:31 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default Hi, ken, GetState problem again, come in this post please?

About my problem, maybe you can have a try, when use outlook editor, in first
active inspector event, try to get state of the encrypt and sign button, it
is always in up state.

Ken Slovak - [MVP - Outlook] wrote:
I don't do anything special, I just read State from the button object
variable. In VBA code if the button is _button then just _button.State.

I remembered that you told me you had never return incorrect state use
CommandBarButton::GetState while outlook editor is used. Could you please
show me your code snippet? or your code flow to get button's state, my
purpose is get states of "Sign" and "Encrypt" button state currently.
After
get them, i will create my toolbar on the mail editor dialog!


--
Message posted via http://www.officekb.com

  #5  
Old June 8th 09, 01:58 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Hi, ken, GetState problem again, come in this post please?

I can read the State property at any point after I've instantiated a
CommandBarButton object for that button. However, I don't use signed emails
and don't even have anything set up here any longer that works with
signing/encrypting emails. So I can't test that exact button.

To open a support case with MS you go to the Office support Web site and
follow the instructions there. Be aware that this is a paid incident, and
the cost will only be waived if the problem is decided as an Outlook bug.
Otherwise you will be billed for any support.

--
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


"ryotyankou via OfficeKB.com" u48591@uwe wrote in message
news:974575e287ee2@uwe...
Do you read state in the frist InspectorActive event? If it is, it really
strange for me, maybe i should send a mail to MS. By the way, how could i
send this issue to MS, i had never do this before, thanks in advance, ken.

Ken Slovak - [MVP - Outlook] wrote:
I don't do anything special, I just read State from the button object
variable. In VBA code if the button is _button then just _button.State.

I remembered that you told me you had never return incorrect state use
CommandBarButton::GetState while outlook editor is used. Could you
please
show me your code snippet? or your code flow to get button's state, my
purpose is get states of "Sign" and "Encrypt" button state currently.
After
get them, i will create my toolbar on the mail editor dialog!


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200906/1


 




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
How to sort NG by latest post to threads, not first post? JoeU2004 Outlook Express 15 March 26th 09 09:05 AM
problem with publish custom Post form shubhangi Add-ins for Outlook 6 February 18th 08 02:12 PM
[MAPI dll problem] Message to post to ask for help in microsoft fo Nong Add-ins for Outlook 1 October 28th 07 09:12 PM
Please Help (3rd Post): Folder Problem with Outlook IMAP Colin Outlook - General Queries 1 May 22nd 07 01:26 PM
second post of same problem In the Dog House Outlook - General Queries 2 February 20th 07 06:48 PM


All times are GMT +1. The time now is 08:50 AM.


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.