Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Dim PrintPDF As New ProcessStartInfo
  2. For Each fileName1 In Directory.GetFiles(strALPRMailOutReports, "*.pdf", SearchOption.AllDirectories)
  3. PrintPDF.UseShellExecute = True
  4. PrintPDF.Verb = "print"
  5. PrintPDF.WindowStyle = ProcessWindowStyle.Hidden
  6. fileNameOnly = Path.GetFileName(fileName1)
  7. PrintPDF.FileName = strALPRMailOutReports & "" & fileNameOnly
  8. Process.Start(PrintPDF)
  9. next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement