Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Redemption ( dll, not religious :)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problem with Redemption ( dll, not religious :)
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
00963178
Message ID:
00963178
Vues:
38
Just upgraded Office 2000 to latest and greatest(?), so now I have the Outlook "security patch from hell popup" occurring when I write against Outlook API. I've tried both contact and email objects, and have the same problem: Everything appears to work ok, EXCEPT THE EMAIL ADDRESS IS EMPTY IN THE REDEMPTION OBJECT.

As an example, here's the "contact" code I tried:
oOutlook = CREATEOBJECT("outlook.application")
oNamespace = oOutlook.GetNamespace("MAPI")
oContact = oNamespace.GetDefaultFolder(10).Items.item(1)

oSafeContact = CREATEOBJECT("Redemption.SafeContactItem")
oSafeContact.Item = oContact
When I compare the contents of the properties in the Outlook Object, "oContact" with the properties in the redemption "oSafeContact" object, I get this:

The oContact.fullname = "Matt Curland" and oContact.Email1Address = "matt@visfox.com"
oSafeContact.fullname = "Matt Curland" and oSafeContact.Email1Address = ""

What am I missing?
-Matt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform