Hello resp
i am student i want to how to creat a sequense of nos in combobox in vb 6.0 without writing directly into the list of combo.
by using loop can i able to creat this one???

The following will probably need to be adapted to your own requirements but the For Loop do what you ask.

    Dim i As Long

    For i = 1 To 5
        Combobox1.AddItem i
    Next i
Be a part of the DaniWeb community

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