js_280 Posted September 9, 2007 Share Posted September 9, 2007 I've attempted to try my hand at using PHP and COM in Windows, however I cannot seem to get any of the objects to become visible. For example the following script will not display Excel... $excel = new COM('Excel.Application') or die('Cannot start Excel'); $excel->Visible = true; This script starts an Excel process in task manager, but will not display the program. I've looked through all of my IIS settings and "Allow Service to Interact with Desktop" is checked. I'm at a loss, because if is run this statement... echo($excel->Version); It displays 11.0 which is the version of Excel I am running... Any ideas or suggestions? Something I've overlooked? Quote Link to comment https://forums.phpfreaks.com/topic/68554-php-and-com/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.