View Single Post
 
Old 02-26-2005, 01:22 AM
Michael Bauer
Guest
 
Posts: n/a
Default Re: Setting Folder Aging Properties Prob

Hi Lando,

I never worked with HiddenMessages so far and can´t find the class in
the Objectbrowser. Is it the Messages class, too?

If so, not objMessage, but objMessages has the Add method, and you´d
need to re-design your code: You´d need to loop through the whole
collection for searching the specified type and add it only if there is
no match. Maybe the loop have not to be if you can use the Item method?

BTW: If this is the complete code why do you check the objFolder.ID in
each objMessage loop?

--
Viele Grüße
Michael Bauer
Reply With Quote