Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Outlook Delete stop working
All of a sudden the program working for months cleaning the folders in MS Outlook 2000 SR1 (9.0.0.4527) stopped with the error message "Parameter is not optional" on the line with DELETE:
loOutlook = creAteOBJECT("outlook.application")
loNameSpace = loOutlook.APPLICATION.GetNamespace('MAPI')
.......
loNameSpace.GetItemfromID(EntryID,lcFolderID).DELETE
(delete the message having entryid in the folder having lcFolderID)
Trying to resolve it with various syntax combinations and approaches I finally give up.
Any ideas will be appreciated.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement