Results 1 to 4 of 4

Thread: Declaring a listview [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member GSIV's Avatar
    Join Date
    Jun 2002
    Location
    Texas, USA
    Posts
    213

    Question Declaring a listview [RESOLVED]

    I have a form which contains ListView1. I am trying to call the sub Populate from a module, but am getting an error that ListView1 is not declared. If I run it from the form_load it will work fine. What do I need to do to fix this?


    Module modCensus
    Public Sub Populate()
    'Set the view to show details
    ListView1.View = View.Details
    End Sub
    End Module
    Last edited by GSIV; Nov 10th, 2003 at 10:13 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width