Any will help will appreciated. Every time I run my code my list city still visible at run time how do i make not to visible when I run my vb code.

lstCity.Visible = False

You should add the code for hiding it at your main form's load event. Assuming your form's name is Form1, here is how it would look:

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        lstCity.Visible = False
    End Sub
End Class
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.