Hello,
I have to write code that must import user defined fields from outlook's contacts folder. But every time i try to access from foxpro, i get a "type mismatch error". Do anyone know about this problem?
Here is the reducted code, that shows that problem:
LOCAL oOutlook,oNameSpace,oDefaultFolder
oOutlook = CREATEOBJECT("outlook.application"
oNameSpace = oOutlook.getnamespace("MAPI"
oDefaultFolder=oNameSpace.GetDefaultFolder(10)
oItems = oDefaultFolder.items
FOR EACH oItem IN oItems
? oItem.UserProperties("MyField"
ENDFOR
thanx for any help.
I have to write code that must import user defined fields from outlook's contacts folder. But every time i try to access from foxpro, i get a "type mismatch error". Do anyone know about this problem?
Here is the reducted code, that shows that problem:
LOCAL oOutlook,oNameSpace,oDefaultFolder
oOutlook = CREATEOBJECT("outlook.application"
oNameSpace = oOutlook.getnamespace("MAPI"
oDefaultFolder=oNameSpace.GetDefaultFolder(10)
oItems = oDefaultFolder.items
FOR EACH oItem IN oItems
? oItem.UserProperties("MyField"
ENDFOR
thanx for any help.