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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s