combo box control


Private sub form_load()

dim x as printer

for each x in printers ‘add device printer

me.combo1.addItem x.Devicename

next x

dim i as integer

for i=0 to screen.fontcount ‘add font type

me.list1.addItem screen.fonts(i)

next i

end sub

Leave a comment