Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Redemption ( dll, not religious :)
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Problem with Redemption ( dll, not religious :)
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00963178
Message ID:
00963178
Views:
37
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
Next
Reply
Map
View

Click here to load this message in the networking platform