开发者

CrystalReports 2008 and PHP

again I am confused with Windows (and it's not even Vista!). I'm trying to hook up CrystalReports 2008 and PHP for a simple report printing interface. CrystalReports (to my knowledge) provides a COM interface to open reports and then for example export them to PDF or Excel files.

I'm currently calling using this method, which works fine!

$ObjectFactory = new COM ( 'CrystalReports12.ObjectFactory.1' ); 

However after that I'm failing to initialize the DesignRuntime using this code:

$ObjectFactory->CreateObject("CrystalDesignRunTime.Application");

The error I am receiving is (just like you'd expect from Windows开发者_StackOverflow) more than cryptic:

<b>Source:</b> Unknown<br/><b>Description:</b> Unknown

Any ideas? The guys over at SAP never seem to have heard of PHP, so there is not much help to find there.


You need to install the Crystal Report Visual Studio Developers Version. This will install the "CrystalDesignRunTime.Application" object that you are referencing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜