myProcess.StartInfo.FileName = "D:\Temp\This is a test.doc"
myProcess.StartInfo.Verb = "PrintTo"
myProcess.StartInfo.CreateNoWindow = True
myProcess.StartInfo.UseShellExecute = True
myProcess.Start()
If myProcess.Responding Then
myProcess.CloseMainWindow()
Else
myProcess.Kill()
End If
psi.Arguments = "<path to html file> /mFilePrintDefault /mFileExit"
psi.FileName = "winword.exe"
psi.CreateNoWindow = True
System.Diagnostics.Process.Start(psi)
However, this visibly opens Word application to do the operation.
HTH
"genojoe" <gen...@discussions.microsoft.com> wrote in message
news:D82962A6-B4F5-44AE...@microsoft.com...