Create Crystal Reports in PHP with the help of COM


Quote:
$ObjectFactory= new COM("CrystalReports12.ObjectFactory.1") or die ("Error on load");

echo "

ObjectFactory created.

About to create CrystalRunTime.Application...";

try {
$crapp = $ObjectFactory-> CreateObject("CrystalRunTime.Application");
} catch (com_exception $e) {
echo("Error on instance creation:
".$e->getMessage().'

'.$e->getTraceAsString());
echo "

".$e;
exit;
}

0 Response to "Create Crystal Reports in PHP with the help of COM"

Post a Comment