php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28045 How to practically bring excel application as a com object to front.
Submitted: 2004-04-18 07:42 UTC Modified: 2004-04-18 11:25 UTC
From: suwan_j at hotmail dot com Assigned:
Status: Not a bug Package: COM related
PHP Version: 4.3.6 OS: Windows XP SP.1 with Apache 1.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: suwan_j at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-04-18 07:42 UTC] suwan_j at hotmail dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-18 11:25 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is not a support forum.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC