Re: List Boxes
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
"Rick" <rick_withnell@xxxxxxxxxxx> wrote in message
news:OtlkPidlIHA.1680@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for the help, im getting an error (cant assign to read only
property) in the line which states the initial value of x
Dim x As Integer
frm_main.lstitem.ListCount = x
As well you should. ListCount is a read-only property. It tells you the
number of items in the ListBox. You cannot assign it a value.
--
Mike
Microsoft MVP Visual Basic
.
Relevant Pages
- Re: Long MsgBox -- need to display in 2 paragraphs
... I have a problem with building an array for a listbox. ... Dim dbDatabase As Database ... MsgBox "Choose a search field", ... Word MVP web site http://word.mvps.org ... (microsoft.public.word.vba.general) - Re: setting defaults for multiselect listboxes
... It'll be safer if the values in the listbox change. ... Dim HWks As Worksheet ... Dim LBWks As Worksheet ... Private Sub CommandButton1_Click ... (microsoft.public.excel.programming) - Re: ACC 2002: Sort a ListBox with no SQL rowsource
... then sort the array. ... >algorythm to sort my listbox where my listbox does not ... >have a SQL statement or Query for it's RowSource; ... >>Dim vGetWidths As Variant ... (microsoft.public.access.formscoding) - Help- Problems with rst.Edit
... I'm trying to use a multi-select listbox as criteria to either add new ... Dim ATID As Variant 'variable for attaiment indicators ID ... Dim skills As String 'variable for skills comment ... value from the groupmembers listbox ... (comp.databases.ms-access) - RE: Absolute Beginner and Timer Class
... I cant follow where the problem is. ... You cant easily call a timer sub from vb.net as you have to pass the objects ... 'Dim RoundLength As Integer = Form1.RoundLength ... Private CountDownStart ... (microsoft.public.dotnet.languages.vb) |
|