Results 1 to 3 of 3

Thread: how to embed word in browser

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    chennai
    Posts
    2

    how to embed word in browser

    how to embed a microsoft word in browser using asp code or javascript .

  2. #2
    Hyperactive Member AvisSoft's Avatar
    Join Date
    Sep 2002
    Location
    Chandigarh
    Posts
    459
    Try this buddy!

    Code:
    <%
    set word= Server.CreateObject("Word.Application")
    'Opening the document read-only
    word.Documents.Open "c:\mydoc.doc",False,True
    set w_doc=word.ActiveDocument
    %>
    Hope this helps!
    Tapan Bhanot,
    CEO, Avis Software.
    Website: www.avissoftware.com

  3. #3
    New Member
    Join Date
    Jul 2002
    Location
    Finland
    Posts
    15
    Hi, you can try this:

    put this script in the top of your asp page, before any other line.
    it does kind of open word insize of browser
    (well, at least in IE and with Word 97 or higher)

    <%Response.ContentType = "application/msword" %>

    more information, check i.e. microsoft msdn sites. here is one
    example.
    http://msdn.microsoft.com/library/de...ng10162000.asp


    i hope this helped

    Minttu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width