Here's the line to regenerates the error.SubItems(3) = rs!Owner_Address Here's my entire code: Option Explicit Dim lst As ListItem Dim lst1 As ListItem Dim OwnerID As Long Dim warning As String Dim countertitle As Integer Dim title As String Dim titledance As String Public Sub FillListView() Set lst = (, txtID.Text) With lst.SubItems(1) = (2) = (3) = txtadd.Text End With End Sub Private Sub cmdaddstudent_Click() If txtname.Text = ' Or txtID.Text = ' Or txtadd.Text = ' Then MsgBox 'Please fill all the fields.' I hope you can help me and I hope it made sense. So I'm trying to create a simple system information and I am attempting to populate a listview control and I get a Run-time error '380': Invalid property value. Hello everyone!:) I'm sorry I'm new to this stuff. A ListView control allows you to display a list of items with item text and, optionally, an icon to identify the type of item.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |