I have a PDF file which I must print. So I wrote the following code in my application
Private Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click
Try
I have a PDF file which I must print. So I wrote the following code in my application
Private Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click
Try
Dim psiPrint As New System.Diagnostics.Process
psiPrint.StartInfo.Verb = "open"
psiPrint.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
psiPrint.StartInfo.FileName = "Deltax.pdf"
psiPrint.StartInfo.UseShellExecute = True
psiPrint.Start()
Catch ex As Win32Exception
...
Go to the complete details ...