WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

redemption MAPIUtils

 
   Home -> Office -> Program Forms RSS
Next:  x-axis scale changes  
Author Message
WLAN

External


Since: Sep 26, 2008
Posts: 17



(Msg. 1) Posted: Mon Mar 23, 2009 6:12 pm
Post subject: redemption MAPIUtils
Archived from groups: microsoft>public>outlook>program_forms (more info?)

Hi,

I'm setting some custom properties using Redemption.MAPIUtils interface.
MessageItem interface is accessed from MAPIUtils and each property is set to
the mail message using HrSetOneProp() function.

The problem is that these properties are not available now. i need to
restart outlook for getting these values. I have checked the same using
Outlook Spy and it didn't show those properties. Once I restart outlook, it
shows all properties.

What is the issue? How do I resolve it?

I need to read those properties after setting it.

Thanks
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 2) Posted: Tue Mar 24, 2009 9:40 am
Post subject: Re: redemption MAPIUtils [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I assume you saving the MessageItem?

You probably also need to alert Outlook that the item underlying the
MessageItem has changed. Usually we use a trick like this, where item would
be the item underlying the MessageItem object:

item.Subject = item.Subject
item.Save

That should be done after saving the MessageItem and releasing references to
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


"WLAN" <WLAN.RemoveThis@discussions.microsoft.com> wrote in message
news:1F808BCE-60CB-4C6D-8C0E-03294FB636CE@microsoft.com...
> Hi,
>
> I'm setting some custom properties using Redemption.MAPIUtils interface.
> MessageItem interface is accessed from MAPIUtils and each property is set
> to
> the mail message using HrSetOneProp() function.
>
> The problem is that these properties are not available now. i need to
> restart outlook for getting these values. I have checked the same using
> Outlook Spy and it didn't show those properties. Once I restart outlook,
> it
> shows all properties.
>
> What is the issue? How do I resolve it?
>
> I need to read those properties after setting it.
>
> Thanks
>
Back to top
Login to vote
wlan

External


Since: Mar 24, 2009
Posts: 2



(Msg. 3) Posted: Tue Mar 24, 2009 9:45 am
Post subject: redemption MAPIUtils [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Ken.

I'm calling messageItem.Save. But I'm not clear about 'alert outlook' part.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Program Forms All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support