VB6 under XL:
I have an application that computes some stuff, and displays it in a list box, item by item.
I would like to send the contents of the list box to a printer.
I wrote a routine:
Public Function GetDefaultPrinter() As String
It seems to work just fine. It either returns the printer, or "Not Found".
On the form containing the list box, I have a command button: cmdPrint with the associated sub:
Question: How do I send the contents of the list box to the printer? Code to go into the Click Sub
Comment: For this purpose, a List Box may not be the best container for the computed data.