FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question on WINEXEC
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question on WINEXEC
Posted: Wed Jul 18, 2007 01:53 PM

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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Question on WINEXEC
Posted: Wed Jul 18, 2007 02:51 PM

You better use OLE Automation to start Office Outlook.

EMG

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question on WINEXEC
Posted: Wed Jul 18, 2007 03:21 PM
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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion