![]() |
Userproperties in Folder
Hi,
When i read an userproperties that created only in folder an error occur. how can i read these properties ? Thanks |
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 |
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 |
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 |
All times are GMT +1. The time now is 05:05 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com