Page 1 of 1

excel.php

Posted: Wed Apr 12, 2006 3:43 am
by rodent129
hawleyjr | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


i downlaod the excel class , and write another php for myself 

most of the times , i browse with internet explorer, it shows 
Warning: (null)(): Unable to obtain IDispatch interface for CLSID {00020820-0000-0000-C000-000000000046}: 存放裝置空間不足,無法完成此操作。 in C:\WWWRoot\excel\excel.php on line 40
Did not instantiate Excel

or 
Warning: (null)(): Unable to lookup worksheets: 接收者已拒絕這個呼叫。 in C:\WWWRoot\excel\excel.php on line 62
Unable to activate Record


how can i slove that problem??

and also in excel.php

Code: Select all

function closexl()
       	{
       	
       		#Close active workbook without prompt from Excel
 		
		$this->ex->application->ActiveWorkbook->Close("False");
				return 1;
		
	}
the function only workbook the workbook , but i want to close the excel also . how can i do ???

I also cannot use relative path to open the excel file.
Thanks for ur kindness help


hawleyjr | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Wed Apr 12, 2006 9:41 am
by rodent129
sorry :?

i will be careful next time.

Thanks a lot :D

Posted: Wed Apr 12, 2006 10:13 am
by R4000
I know i'm not that important around here :P
But please don't double post! (i know ive done my fair share, but still xD)

Posted: Wed Apr 12, 2006 11:13 am
by BDKR
1) Where did you download this excel class from.

2) PEAR (Horrors!) has an Excel class that is fantastic.