|
-
Nov 21st, 2002, 06:12 AM
#1
Thread Starter
New Member
how to embed word in browser
how to embed a microsoft word in browser using asp code or javascript .
-
Nov 21st, 2002, 06:41 AM
#2
Hyperactive Member
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
-
Nov 21st, 2002, 06:50 AM
#3
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|