The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Farabi on June 18, 2010, 10:07:04 PM

Title: Saving to .doc
Post by: Farabi on June 18, 2010, 10:07:04 PM
Anyone know how to save our text file to .doc or .rtf with a table in it?
Title: Re: Saving to .doc
Post by: redskull on June 18, 2010, 10:32:56 PM
Why you should abandon all hope of a .DOC (lest using the Com objects)

http://www.joelonsoftware.com/items/2008/02/19.html

I believe in rtf you use the <tbldef> tag

-r
Title: Re: Saving to .doc
Post by: jj2007 on June 18, 2010, 10:35:09 PM
Recent versions of RichEdit handle tables fairly well. Try to open the attachment with RichMasm (http://www.masm32.com/board/index.php?topic=12460) or WordPad.
Title: Re: Saving to .doc
Post by: Farabi on June 19, 2010, 02:02:36 PM
Quote from: redskull on June 18, 2010, 10:32:56 PM
Why you should abandon all hope of a .DOC (lest using the Com objects)

http://www.joelonsoftware.com/items/2008/02/19.html

I believe in rtf you use the <tbldef> tag

-r

NO COM PleaseĀ  :dazzled:
I prefer C interface.
Title: Re: Saving to .doc
Post by: Farabi on June 19, 2010, 02:09:13 PM
Quote from: jj2007 on June 18, 2010, 10:35:09 PM
Recent versions of RichEdit handle tables fairly well. Try to open the attachment with RichMasm (http://www.masm32.com/board/index.php?topic=12460) or WordPad.

Thanks, that was better than COM. But need a good parser I guess.