Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP outlook 2010 automation
Message
From
14/08/2014 04:37:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/08/2014 03:07:06
Safwan Kaskas
Lebanese Islamic Bank
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01605430
Message ID:
01605640
Views:
68
>here goes,
>the error is at oitem.send

I wonder why it would be looking for foxcode on a line which just calls a method in a COM object... and then why can't it find it. Could it be that this particular version of Outlook changed the current directory on you? Try to step through this whole code with curd() in a watch window. I've seen a few things from Microsoft which may do that.

If so, do a

lcHere=set("directory")

before creating the instance of outlook, then

cd (lcHere)

immediately afterwards.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform