<?php $v_Excel = new COM('Excel.application') or Die ('Did not connect'); print "Application : {$v_Excel->Application->value} - {$v_Excel->Application->version}<br />"; $v_Classeur = $v_Excel->Workbooks->Open('C:/test.xls'); $v_Excel->Quit(); unset($v_Excel); ?>
Je ne connais pas de bons forums consacrés à l'informatique.Citation
Aurais-tu un autre forum à me recommander concernant le type de problème que je viens de rencontrer ?
Citation
Et bien après vérification, Office est bien installé sur mon poste ...
Citation
Dcomcnfg.exe and 64-bit Applications
On x64 operating systems from Windows XP to Windows Server 2008, the 64-bit version of DCOMCNFG.EXE does not correctly configure 32-bit DCOM applications for remote activation. This behavior causes components that are meant to be activated remotely instead being activated locally. This behavior does not occur in Windows 7 and Windows Server 2008 R2 and higher versions.
The workaround is to use the 32-bit version of DCOMCNFG. Run the 32-bit version of mmc.exe and load the 32-bit version of the Component Services snap-in by using the following command line.
C:\WINDOWS\SysWOW64>mmc comexp.msc /32
The 32-bit version of Component Services correctly registers 32-bit DCOM applications for remote activation.