Question on WINEXEC

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Question on WINEXEC

Post by driessen »

Hello,

What is the easiest way to start Outlook from a FWH-application, using WINEXEC() ?

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

I agree.

I use OLE automation to start Office Outlook.

It works fine with Outlook 2000, XP or 2003.

But in Outlook 2007 the problems begin.

Using the same source, I got an error when sending emails from my FWH-appliction when Outlook is not started manually.

This error says :
E_FAIL: RECEPIENTS
This error happens in :
win32ole => TOLEAUTO:RECEPIENTS(0)
If I start Outlook manually before sending my email, everything works fine.

That's why I was looking for starting Outlook automatically in my FWH application.

Thanks for your answer.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply