Problem with ListBox and Selection Mode = None - error ...

I have a ListBox which elements are from access database.
I just want to list this elements so I chose ListBox. I don't want that user can select any value, so I set enabled = False and selection mode = None.
When I run my application all is OK, but when I click for stop there is an error, that SelectionMode.NONE is null ... what's going on ?

How solve this problem ?
Or maybe there is other way to list elements from the database - just list like label.

Thx for any help :-)

[498 byte] By [Gregory_23_PL] at [2007-12-24]
# 1

Why set anything different for the listbox?

If they select something and you have no event

code, nothing happens.

TallDude at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic General...