View Single Post
Old 02-06-2009, 02:50 AM   #10 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
Originally Posted by Tanax View Post
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($szSaveDocument8); 
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)
sketchMedia is offline  
Reply With Quote
The Following User Says Thank You to sketchMedia For This Useful Post:
Tanax (02-06-2009)