/* Get Printer List */
string printers[]
int rtn, i, nbPrinters
rtn = RegistryKeys &
("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers", &
printers)
nbPrinters = UpperBound(printers)
FOR i = 1 TO nbPrinters
lb_1.addItem(printers[i])
NEXT
Saturday, 15 March 2008
Get a list of printers installed
Posted on 14:12 by Unknown
In this example, we populate a listbox with the printers name
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment