02-06-2009, 02:50 AM
|
#10 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
Quote:
Originally Posted by Tanax
Thanks!
Just a question though.
Where do you find info about the Documents and Open thingy?
As used here:
PHP Code:
$pWordCOM->Documents->Open($szOpenDocument);
Also, these things?
PHP Code:
$pWordCOM->ActiveDocument->SaveAs($szSaveDocument, 8);
As said before, I found the info about the COM class, but it didn't have any of those functions.. ActiveDocument nor Documents..
Anyways, thanks! However, I didn't really want to save it as a txt.. I wanted to get the HTML code so I can post it on the website, without having to write the HTML code for bold and tables wherever they are used..
|
Alot of searching on MSDN (hateful site).
http://msdn.microsoft.com/en-us/library/bb216319.aspx
http://msdn.microsoft.com/en-us/library/bb221597.aspx
http://msdn.microsoft.com/en-us/library/bb238158.aspx
It should save it in html format, theoretically.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|