Hi,

still having printer woes lol. This code gives me an "Data member or method not found" error in one project but not the other. If I use the Printers.Form1.Count then it works. I cant understand why it does in one but not the other. And ideas?

VB Code:
  1. 'Load up the Printers installed
  2.     Dim i As Integer ' For printer collection
  3.     For i = 0 To Printers.Count - 1 'Gets the printers installed on the sytem
  4.         cboPrinters.AddItem Replace(Printers(i).DeviceName & "[" & Printers(i).DriverName & "]", "[winspool]", "")
  5.     Next
  6.     cboPrinters.Text = Printer.DeviceName
  7.      'MsgBox Printers.Form1.Count
Thanks
John