Microsoft Office - Solved

Microsoft Office - Solved

Postby driessen » Sat Mar 06, 2010 3:12 pm

Hello,

Is there a FWH-funtion to determine which version of Office has been installed on a PC ?

Thanks.
Last edited by driessen on Sat Mar 06, 2010 7:25 pm, edited 1 time in total.
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: Microsoft Office

Postby Otto » Sat Mar 06, 2010 3:51 pm

Michel,
I use:

Code: Select all  Expand view
oWord := CREATEOBJECT( "Word.Application" )

oWord:Version

oWord:path  

oWord := NIL


Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Re: Microsoft Office

Postby driessen » Sat Mar 06, 2010 7:24 pm

Otto,

Thanks a lot for your suggested solution.
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Microsoft Office

Postby Enrico Maria Giordano » Sun Mar 07, 2010 9:58 am

You must replace

Code: Select all  Expand view
oWord := NIL


with

Code: Select all  Expand view
oWord:Quit()


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

Re: Microsoft Office - Solved

Postby driessen » Sun Mar 07, 2010 11:48 am

Enrico,

Thank you for telling me that.
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 102 guests