Question on WINEXEC

Question on WINEXEC

Postby driessen » Wed Jul 18, 2007 1: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Question on WINEXEC

Postby Enrico Maria Giordano » Wed Jul 18, 2007 2:51 pm

You better use OLE Automation to start Office Outlook.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby driessen » Wed Jul 18, 2007 3: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 26 guests