Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2006

Tip: Looking for answers? Try searching our database.

Save Word RTF or HTML to database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brady - 24 Aug 2006 23:32 GMT
I want to edit in microsoft word add a custom menu option called File Save To
DB and the document is saved to a database.   Is there away that I can get
the html representation of the document in the form of a string.   Similar to
selection.text but I get the html version of the document?
Jezebel - 25 Aug 2006 00:08 GMT
Save it as HTML, close it, then read it back as a text file.

>I want to edit in microsoft word add a custom menu option called File Save
>To
> DB and the document is saved to a database.   Is there away that I can get
> the html representation of the document in the form of a string.   Similar
> to
> selection.text but I get the html version of the document?
Brady - 25 Aug 2006 04:20 GMT
That seems just way to brute force.  Surely there is way to get to the HTML
from the word object model.

> Save it as HTML, close it, then read it back as a text file.
>
[quoted text clipped - 4 lines]
> > to
> > selection.text but I get the html version of the document?
Jezebel - 25 Aug 2006 04:25 GMT
Well, if you have nothing better to do, you can explore the mysteries of
activedocument.HTMLProject. It's all there ... after a fashion.

> That seems just way to brute force.  Surely there is way to get to the
> HTML
[quoted text clipped - 11 lines]
>> > to
>> > selection.text but I get the html version of the document?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.