how to embed a microsoft word in browser using asp code or javascript .
Printable View
how to embed a microsoft word in browser using asp code or javascript .
Try this buddy!
Hope this helps!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
%>
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 ;)