Code only prints first document in folder, from a list of documents

Code below only prints 1 doc, the first one

I have a few files in my path, but it wont print the rest...
Any ideas?

Imports System
Imports System.IO
 Imports System.Windows.Forms
 Imports System.Windows.Forms.Form
Imports System.Windows.Forms.PrintPreviewDialog

Module Module1

    Sub Main()
        Dim PrintDialog1 As New PrintDialog()
          Dim files() as String = IO.Directory.GetFiles("\\sv-fs03\users$\..........\dwg printer")
    For Each file In files

                 Dim psi As New ProcessStartInfo(file)
        psi.Verb = "print"       
        psi.UseShellExecute = True
        psi.WindowStyle = ProcessWindowStyle.Hidden
        psi.CreateNoWindow = True 
      Catch ex As Exception
      End Try   
Next file


    End Sub

End Module

Open in new window

Hares FakAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GMGeniusSoftware Development Manager/DeveloperCommented:
Have you tried adding a break point in the loop to see what it does after the Process.Start ?

If it is dropping out of the loop you need to determine just where
GMGeniusSoftware Development Manager/DeveloperCommented:
I tried this myself and it would appear to work as expected
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.