excel.php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rodent129
Forum Newbie
Posts: 2
Joined: Tue Apr 11, 2006 11:57 am

excel.php

Post 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]
rodent129
Forum Newbie
Posts: 2
Joined: Tue Apr 11, 2006 11:57 am

Post by rodent129 »

sorry :?

i will be careful next time.

Thanks a lot :D
User avatar
R4000
Forum Contributor
Posts: 168
Joined: Wed Mar 08, 2006 12:50 pm
Location: Cambridge, United Kingdom

Post 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)
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

1) Where did you download this excel class from.

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