Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Outloolk, MAPIFolder assigment renames folder instead
I'm using Outlook XP. Whenever I try to changes a MAPIFolder property via assignment, e.g., when trying to change the CurrentFolder property of an Explorer object like so:
.oExplorer.CurrentFolder = .oDestinationFolder
It simply renames .CurrentFolder to the name of .oDestinationFolder rather than performing the assignment, that is, it behaves as if I had coded
.oExplorer.CurrentFolder.Name = .oDestinationFolder.Name
Am I doing something wrong????
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