Guys
I'm playing around with this bit of code:
VB Code:
<script language="vbscript"> Dim WordApp Dim WordDoc Dim WordPath Set WordApp = CreateObject("Word.application") Set WordDoc = WordApp.Documents.Add() set WordPath = Server.MapPath("C:\file.doc") WordDoc.Document.Open(WordPath) WordApp.Visible = true WordDoc.Document.Print() WordDoc.Document.Close Set WordDoc = Nothing Set WordApp = Nothing </script>
Now, it launches winword.exe, but that's about it. What am I doing wrong?!
Peter
