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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to take advantage of user defined properties immediately after Outlook Message Itemtype conversion ?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 27th 06, 04:28 PM posted to microsoft.public.outlook.program_vba
codemonkey_147
external usenet poster
 
Posts: 6
Default How to take advantage of user defined properties immediately after Outlook Message Itemtype conversion ?

WinXP Pro , Outlook 2k3, VB , MS VS 6

I inherited an Outlook Project based on the COM Add-In template on
http://www.microeye.com/resources/index.html
The basic function of the Add-In is to provide outlook with
functionality to work on my currrent company's custom forms/outlook
items. In order to provide a reference and way by which the items can
be ordered / grouped / linked with each other (by Project related
information such as customer, project name etc.) user defined
properties were introduced that are being maintained.

My problem lies in the use of old, pre-Add-In MessageTypes immediately
after conversion.
The Add-In provides the user with a way to select multiple items and
set the user defined properties for all of them at the same time by way
of a Form. The code in the dll mainly uses 2 separate functions. One to
convert the old Message Type to the Homemeade Type

oSel.Item(m).MessageClass = "NewAndImproved_MessageClass"

and one to set the user defined properties to the gathered values

Item.UserProperties("ShinyNewProperty") = "User Input String"

Once the message class string has been set to the new class type, the
Object is technically of the new type, but does not have access to the
user defined properties yet. I need access to the new properties asap
since the results are dependent of the type as well as whether it is a
newly created object (of the new type) or an object that has been
converted from an older model item type. Is there a way to do a refresh
or behind the scenes close&reopen ? Am i looking in the wrong place ?

-George

 




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
User defined fields in Outlook 2003 Dave F Outlook - General Queries 3 November 4th 06 07:35 PM
User defined fields in Outlook 2003 Dave F Outlook - Using Contacts 1 November 4th 06 07:35 PM
Identifying whether there are user properties defined Dewey Add-ins for Outlook 3 September 21st 06 11:01 PM
Properties for this information service must be defined prior to use abal1221 Outlook - General Queries 0 August 26th 06 01:23 AM
Outlook, user defined fields Mel Outlook - Using Contacts 3 June 21st 06 05:55 PM


All times are GMT +1. The time now is 06:51 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.