this is going to sound stupid but I am trying to print a text file I am not sure why this works but this code below prints the file but I need to get it printed in landscape and since printing in vb 2005 studio is way different that 6.0 I need all the help I can get
Call tabfile()
Dim piStart As New ProcessStartInfo
With piStart
.FileName = System.Windows.Forms.Application.StartupPath & "\tabhamlog.txt"
.Verb = "print"
.WindowStyle = ProcessWindowStyle.Hidden
End With
Process.Start(piStart)


