![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
When i read an userproperties that created only in folder an error occur. how can i read these properties ? Thanks |
Ads |
#2
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |