[RESOLVED] Printers.Count Error
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:
'Load up the Printers installed
Dim i As Integer ' For printer collection
For i = 0 To Printers.Count - 1 'Gets the printers installed on the sytem
cboPrinters.AddItem Replace(Printers(i).DeviceName & "[" & Printers(i).DriverName & "]", "[winspool]", "")
Next
cboPrinters.Text = Printer.DeviceName
'MsgBox Printers.Form1.Count
Thanks
John