Jump to content

Crystal Reports and COM


micmania1

Recommended Posts

Hi,

 

I'm trying to learn how to user Crystal Reports with PHP but i'm having trouble getting started.

 

Here's some code i pinched off the net:

<?php
$crapp = new COM ("CrystalRuntime.Application") or die ("Error onload");
?>

 

My Error:

 

Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `CrystalRuntime.Application': The specified module could not be found. ' in D:\xampp\htdocs\crystal.php:2 Stack trace: #0 D:\xampp\htdocs\crystal.php(2): com->com('CrystalRuntime....') #1 {main} thrown in D:\xampp\htdocs\crystal.php on line 2

 

Does anybody know what module i'm missing or if i'm doing something wrong?

 

Do I need crystal on the server or the users computer? I've never worked with COM before.

 

The version of crystal we use is 9.

 

Thank you for reading.

Link to comment
https://forums.phpfreaks.com/topic/168958-crystal-reports-and-com/
Share on other sites

  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.