From: suwan_j at hotmail dot com Operating system: Windows XP SP.1 with Apache 1.3 PHP version: 4.3.6 PHP Bug Type: COM related Bug description: How to practically bring excel application as a com object to front.
Description: ------------ The statement,"$ExcelCOMObj->Application->Visible = true;", truely doesn't work. The excel application is not brought to front. I try too many time and so many version of PHP, that's useless all. Therefore, I would kindly like a one of you to come to clearly specify(state) related software versions or tell me how to config their configurations. I have worked for this problem for a month, there is no progression on it. I have seen several bugs like mine but there is no explicit answer or solution to fix it. The related topic : Bug #11195 My current environment : MS-Windows XP SP.1 MS-Office XP SP.1 Apache 1.3 PHP 4.3.6 Browser : IE 5-6 Reproduce code: --------------- $CompletedFileName = "E:\\php_rtl\\Example.xls"; $ExcelCOMObj = new COM("Excel.Application"); $ExcelCOMObj->Application->Visible = true; $ExcelWorkBookObj = $ExcelCOMObj->Application->Workbooks->Open($CompletedFileName); $ExcelWorkSheetObj = $ExcelWorkBookObj->Worksheets(2); $ExcelWorkSheetObj->Activate; unset($ExcelWorkSheetObj); unset($ExcelWorkBookObj); unset($ExcelCOMObj); Expected result: ---------------- The excel application should be brought to front. Actual result: -------------- There is no excel application and no error. The excel process is alive in the Task Manager. -- Edit bug report at http://bugs.php.net/?id=28045&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28045&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28045&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28045&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28045&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28045&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28045&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28045&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28045&r=support Expected behavior: http://bugs.php.net/fix.php?id=28045&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28045&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28045&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28045&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28045&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28045&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28045&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28045&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28045&r=float