Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CDO to set message categories..
Message
De
03/05/2001 13:22:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using CDO to set message categories..
Divers
Thread ID:
00503148
Message ID:
00503148
Vues:
58
Hi,
I have a VFP6 application which talks to Exchange using CDO. It works great except for one thing...

I am trying to programmatically change the 'categories' property of mail messages. I can read the categories but not change them.

Assuming "loMessage" is my message object, "myArray=loMessage.categories" retrieves the categories into array called myArray.

However, "loMessage.categories=myArray" fails.

Something like "loMessage.catgeories(1)='new value'" also fails. There is plenty of sample code for Visual Basic and CDO (as usual), which suggests "loMessage.categories()(1)='new value'". What is the equivalent of these double parentheses in VFP?

Has somebody else tried this?

Thanks
Phil
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform