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