Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Outlook Mail via VFP
Message
 
À
01/05/2000 16:51:20
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00364632
Message ID:
00364920
Vues:
39
That is a good point.. There are a lot of FREE resources out there on how to do this. You know, it ain't rocket science... < bg >.

Regardless, to hawk one's book at the expense of providing the required tech support is lame. In other words, if you are going to take the time to respond to somebody's post, you then are are obligated to either answer the question or point that person in the correct direction. If you do answer the question, then by all means, let the person know of your resource.


>Hi John,
>
>I have code here in the Files section that does pretty much the same thing. It's called ROC (Raid on Contacts), in case anyone is to lazy to cut-and-paste code :-)
>
>
>>
>>
>>#Define olFolderContacts	10
>>oOutlook = createobject("outlook.application")
>>oNameSpace = oOutlook.GetNameSpace("MAPI")
>>oContacts = oNameSpace.GetDefaultFolder(olFolderContacts).Items
>>count = 0
>>create cursor contacts ;
>>   (fullname c(50),email1address c(50))
>>For Each Contact In oContacts
>>   m.fullname      = contact.fullname
>>   m.email1address = contact.email1address
>>   Insert Into Contacts From Memvar
>>Next Contact
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform