web 2.0

How to use ASP & Connect to Word.Application

How to use ASP & Connect to Word (Word.Application) This is learn/tutorial asp developers how to using ASP script and connect to Word.Application

ShotDev Focus:
- ASP & Connect to Word.Application

Example

asp_word_connect.asp


<% Option  Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim WrdApp
Set WrdApp = Server.CreateObject("Word.Application")
If IsObject(WrdApp) Then
Response.write("Word.Application Status Connected.")
Else
Response.write("Cannot Connect to Word.Application")
End IF
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_word_connect.asp

Screenshot

ASP & Connect to Word.Application
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.