G
Guest
I'm trying to print an Adobe forms file (.fdf) using
system.diagnostics.process in a windows service. The problem is, IE is the
program that launches that file type & Verb = "Print" doesn't work in IE. IE
launches OK but crashes when the verb is invoked. Does anybody know how to do
a shell print command in IE 6? When I specifically states to open the file
using Acrobat, it opens in IE anyway. Code follows:
Dim objProcess As System.Diagnostics.Process
objProcess = New System.Diagnostics.Process
objProcess.StartInfo.FileName = "C:\ClaimReportPdf.fdf"
objProcess.StartInfo.Verb = "Print"
objProcess.StartInfo.CreateNoWindow = True
objProcess.Start()
system.diagnostics.process in a windows service. The problem is, IE is the
program that launches that file type & Verb = "Print" doesn't work in IE. IE
launches OK but crashes when the verb is invoked. Does anybody know how to do
a shell print command in IE 6? When I specifically states to open the file
using Acrobat, it opens in IE anyway. Code follows:
Dim objProcess As System.Diagnostics.Process
objProcess = New System.Diagnostics.Process
objProcess.StartInfo.FileName = "C:\ClaimReportPdf.fdf"
objProcess.StartInfo.Verb = "Print"
objProcess.StartInfo.CreateNoWindow = True
objProcess.Start()