Printing HTML document from Windows Service
I have a service which is running as myself (admin)
Dim info = New System.Diagnostics.ProcessStartInfo()
info.FileName = sPath & sResult
info.Arguments = "\\EXCH01\Dell MFP Laser 3115cn PCL6"
info.CreateNoWindow = True
info.WindowStyle = ProcessWindowStyle.Hidden
info.UseShellExecute = True
info.Verb = "printto"
When this executes nothing happens (no exception), the file is a html file on my desktop. Both htm and html files have associated programs (iexplore.exe). If I copy sPath & sResult and execute it in hte run command it brings up the page in ie. Anyone have any ideas?