Question on WINEXEC

Post Reply
User avatar
driessen
Posts: 1422
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. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: Question on WINEXEC

Post by Enrico Maria Giordano »

You better use OLE Automation to start Office Outlook.

EMG
User avatar
driessen
Posts: 1422
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. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
Post Reply