Re: Using DLL with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 9, 2009 at 3:21 PM, Dan Shirah <mrsquash2@xxxxxxxxx> wrote:
>  Hmmmm, maybe it's not a problem with the DLL I'm trying to access because
> just doing a simple:
> $my_com = new COM("Excel.Application");
>
> Gives me the same error:
> *Fatal error*: Uncaught exception 'com_exception' with message 'Failed to
> create COM object `Excel.Application': Invalid syntax '
>
> I've checked my PHP.ini and COM is enabled...
>

Is Excel installed on the web server? What happens if you try either
'Scripting.Dictionary' or 'Scripting.FileSystemObject'? (I think those
are both be part of VBScript, so they should be available.)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux