Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when executing .Display?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
MS SQL Server
Miscellaneous
Thread ID:
01057876
Message ID:
01058288
Views:
13
Sergey,

Thanks for the reply. I have a standalone email test program that I sent to the user and I have narrowed it down to the .display -- or .display() -- command. Using either command, the program does dump the user into Outlook and, at the same time, shows the error message x00000001: Incorrect Function. Maybe it is some kind of security change on outlook 2003?

If you use the Send() command instead, you get a security dialog asking if you want to allow the send to continue (but no error).

Thanks,

Kevin

******************************************

I would try
=oEmailItem.Display()
>I have a fairly old program that dumps users into Outlook after an email is created as such:
>
>WITH oEmailItem
> .To = m.sendto
> .CC =m.ccTo
> .Subject = m.jcsubject
> .Importance = IMPORTANCENORMAL
> .Body = m.jcmessage
> .Display && .Send -- using display instead of send.
>ENDWITH
>
>I am getting a x00000001: Incorrect Function error on the .display line. Did outlook 2003 change the syntax? Do I need the () as in .Display()
Kevin Emmrich
www.jkt9000.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform