View Single Post
  #1  
Old September 15th 06, 09:57 AM posted to microsoft.public.outlook.program_vba
kappe79
external usenet poster
 
Posts: 5
Default error retrieving folder.items.count

Trying to access to the properties "items.count" of a
outlook.MAPIfolder I received a message error (sorry, the comments are
in italian, however the message says that "an unknow error has
occurred" and it suggest to re-start outlook):

System.Runtime.InteropServices.COMException non è stata gestita
ErrorCode=-1525661691
Message="Errore sconosciuto dell'interfaccia di trasferimento
messaggi. Se il problema persiste, riavviare Outlook."
Source="Microsoft Office Outlook"
StackTrace:
in Outlook.ItemsClass.get_Count()
in GestionePostaElettronica.FrmMail.Button1_Click_1(O bject
sender, EventArgs e)

The single items of the Mapifolder are accessible but i need to know
the number of it
The folder in located in a Exchange Server: may the reason of the
problem be this?

thanks for any help

Ads