Unless something has changed, that never worked for us, create object would not work if we had a 64 bit version of Office installed, we never tried again so it might have changed, I'll see if I create a VM with 64 bits office and VFP and try again, but it will take me a while and I am busy as I'll go on vacation next week and I need to wrap up some things... unfortunately a quick search on google seems to agree with me, but I will try anyways.
Thanks,
Hugo
>There isn't much to tell. I have outlook 2010 64 bit version installed
>
>I can automate Word and Excel - haven't changed any foxpro code
>
>As to outlook mail ( which I don't really use ) all I do is prepare a message and display it
>something like
>
>objOutlook = createobject ('Outlook.Application')
>objMsg = m.objOutlook.CreateItem(0)
>
>with m.objMsg
> .To = iif(!empty(m.Recipient), m.Recipient, '')
> .cc = iif(!empty(m.cc), m.cc, '')
> .bcc = iif(!empty(m.bcc), m.bcc, '')
> .subject = iif(!empty(m.subject), m.subject, '')
>endwith
>=objMsg.Display(0)
>objMsg = null
>objOutlook = null
>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges