Is there any way within a FoxPro environment to determine whether EXCEL is installed on a PC?
I would rather not use this code since it is not foolproof.
IF FILE('C:\Program Files\Microsoft Office\Office\EXCEL.EXE') = .T. .OR. ;
FILE('C:\Program Files\Microsoft Office\Office10\EXCEL.EXE') = .T.
Has_Excel = .T.
ELSE
Has_Excel = .F.
ENDIF
I would rather not use this code since it is not foolproof.
IF FILE('C:\Program Files\Microsoft Office\Office\EXCEL.EXE') = .T. .OR. ;
FILE('C:\Program Files\Microsoft Office\Office10\EXCEL.EXE') = .T.
Has_Excel = .T.
ELSE
Has_Excel = .F.
ENDIF