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
Dim piStart As New ProcessStartInfo
.FileName = System.Windows.Forms.Application.StartupPath & " abhamlog.txt"
.Verb = "print"
.WindowStyle = ProcessWindowStyle.Hidden