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

Userproperties in Folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 12th 06, 06:08 PM posted to microsoft.public.outlook.program_vba
MClaudio
external usenet poster
 
Posts: 2
Default Userproperties in Folder

Hi,

When i read an userproperties that created only in folder an error occur.
how can i read these properties ?

Thanks

Ads
  #2  
Old January 13th 06, 06:40 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Userproperties in Folder

Am Thu, 12 Jan 2006 10:08:02 -0800 schrieb MClaudio:

That´s the way. If an error occurs than you know that the property doesn´t
exist for that object.

A method for "outsourcing" the error is to move the lines in a separate
function.

Private Function GetProperty(colProps as UserProperties, _
sName as String _
) as UserProperty
On Error Resume Next
Set GetProperty=colProps(sName)
End Function

If the function returns Nothing then the prop doesn´t exist, and the error
will be ignored.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



Hi,

When i read an userproperties that created only in folder an error occur.
how can i read these properties ?

Thanks

  #3  
Old January 13th 06, 08:04 AM posted to microsoft.public.outlook.program_vba
MClaudio
external usenet poster
 
Posts: 2
Default Userproperties in Folder

OK Michael, but is possible to read the value of an userproperties create
only in folder ? How ?
Thanks

"Michael Bauer" wrote:

Am Thu, 12 Jan 2006 10:08:02 -0800 schrieb MClaudio:

That´s the way. If an error occurs than you know that the property doesn´t
exist for that object.

A method for "outsourcing" the error is to move the lines in a separate
function.

Private Function GetProperty(colProps as UserProperties, _
sName as String _
) as UserProperty
On Error Resume Next
Set GetProperty=colProps(sName)
End Function

If the function returns Nothing then the prop doesn´t exist, and the error
will be ignored.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



Hi,

When i read an userproperties that created only in folder an error occur.
how can i read these properties ?

Thanks


  #4  
Old January 16th 06, 07:59 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Userproperties in Folder

Am Fri, 13 Jan 2006 00:04:02 -0800 schrieb MClaudio:

You need to use CDO or Redemption (www.dimastr.com) instead.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



OK Michael, but is possible to read the value of an userproperties create
only in folder ? How ?
Thanks

"Michael Bauer" wrote:

Am Thu, 12 Jan 2006 10:08:02 -0800 schrieb MClaudio:

That´s the way. If an error occurs than you know that the property

doesn´t
exist for that object.

A method for "outsourcing" the error is to move the lines in a separate
function.

Private Function GetProperty(colProps as UserProperties, _
sName as String _
) as UserProperty
On Error Resume Next
Set GetProperty=colProps(sName)
End Function

If the function returns Nothing then the prop doesn´t exist, and the

error
will be ignored.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



Hi,

When i read an userproperties that created only in folder an error

occur.
how can i read these properties ?

Thanks


 




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
Folder order reversed in folder list (Outlook 2000) [email protected] Outlook - General Queries 0 February 26th 06 05:17 PM
VB.net Cannot add userproperties Ben Add-ins for Outlook 2 February 24th 06 10:32 AM
Junk E-mail folder - is there a way to create a rule to delete items in this folder older than X days? Jaycee Outlook - General Queries 1 February 22nd 06 04:54 PM
Synchronizing local calendar folder (PST) with Exchange folder Yoav Outlook - Calandaring 1 February 15th 06 07:09 PM
Changing Contact Info in One Folder - How to apply in other folder atbioteach Outlook - Using Contacts 1 February 3rd 06 12:27 AM


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