Results 1 to 2 of 2

Thread: [2008] ComboListBox Question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Location
    Philippines
    Posts
    70

    [2008] ComboListBox Question

    How can I add items in ComboListbox in 2008, i cant find the right function..

    In vb6.0 im just using Combo1.AddItem(string)... how about in VB 2008? THanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2008] ComboListBox Question

    No such thing as a ComboListBox. It's just a ComboBox. Items are accessed via the items collection, e.g.
    vb.net Code:
    1. Me.ComboBox1.Items.Add(newItem)
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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