convert Microsoft Word Document into HTML

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to convert Microsoft Word Document into HTML format using .NET (c#).
Do anybody have any idea how to do this.
 
There are only two ways I know of to do this.

1) Use the Word object model and "Save as HTML" on the document object.
2) Use a third party component engineered to work with Word documents.

The Word Document (except for the most recent version which is actually
well-formed XML) is a prprietary binary format. Load a Word document into
Notepad and you'll see.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
 
You can use .NET DLL from ABCPDF to convert PDF to html.
I want to convert Microsoft Word Document into HTML format using .NET (c#).
Do anybody have any idea how to do this.

--
Kumar.A.P.P
Software Engineer, Infosys Technologies Limited.
http://geekswithblog.squarespace.com
On Monday, October 08, 2007 7:38 AM pbromber wrote:
There are only two ways I know of to do this.

1) Use the Word object model and "Save as HTML" on the document object.
2) Use a third party component engineered to work with Word documents.

The Word Document (except for the most recent version which is actually
well-formed XML) is a prprietary binary format. Load a Word document into
Notepad and you'll see.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com



"Kumar.A.P.P" wrote:
 
Hi..
I want to convert an html object coming from view to WordDocument object.
I am using asp.net mvc3.
My html oobject is containg the edited content of the document which s being edited in the view.Now,for saving the changes made to the document i need to convert this to doc object.
I performed various casting methods but there was no luck
I am getting Invalid Casting exception
Could any one please provide me example on how to do this casting/conversion
Thanks & Regards
 
Back
Top