开发者

display ms word doc within web browser

is there a way to embed ms word doc within web browser....

i won't be able to pay for activex controls...

i cant use google docs because the docs need to uploaded to google....

cannot use office interop also开发者_开发知识库 because of this

so if you know...

please suggest any other way of doing this......


You can find some useful information at here


Richards,

Microsoft do a similar site to google docs, try this link

http://workspace.officelive.com/en-GB/

Private Sub SaveAsHTML(ByRef paWord_Doc As Word.Document, ByRef ptSavePath As String)
    ' Check Word is running
    _wordUtils.CheckDoc(paWord_Doc)
    Dim filetoSave As New FileInfo(ptSavePath)
    If (Not paWord_Doc.FullName = ptSavePath) And filetoSave.Exists Then
        filetoSave.Delete()
    End If

    paWord_Doc.WebOptions.OrganizeInFolder = False
    paWord_Doc.SaveAs(CObj(ptSavePath), Word.WdSaveFormat.wdFormatFilteredHTML)
End Sub

You could also save you Word Documents as HTML.

Regards

Iain


Take a lok at Eric Whites Blog. He has a couple of posts listing how to convert WordprocessingML into HTML (and back) and also links to a CodePlex project (OpenXML Document Viewer) where the guys are using a browser plugin to do something similar. Not exactly what I was looking for, but maybe you will find it interesting:

Transforming Open XML Word-Processing Documents to XHtml parts 1, 2 & 3

Personally, I was hoping for something like the word editor at SkyDrive, but I realised even that was not full featured, so I am now investigating just allowing end users to open word documents, edit them and save the results back to a web server, similar to what you can do in SharePoint. Hopefully I don't need SharePoint though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜