CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2001
    Posts
    11

    ComboBox Problem - Need Help

    Hi everyone,
    I am designing an application wherein i have to add a lot of items in the combobox. But since the combobox takes only items upto 32736, what could be an alternative solution for it. Even Listbox takes items similar to ComboBox. I have to add more that 50-60 thousand items.
    Please advice.
    Bye,
    Mahesh




  2. #2
    Join Date
    Dec 2001
    Location
    New Hampshire
    Posts
    1

    Re: ComboBox Problem - Need Help

    There are 3rd party list box controls that can handle an unlimited number of items. I use ListPro.

    Expert:When you hit your head against the wall enough times, you get to know the wall REALLY well.

  3. #3
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: ComboBox Problem - Need Help

    Why do you need so many items in the COmbo box. When you are dealing with such significant amount of records - the database is the best choice.

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: ComboBox Problem - Need Help

    There is another ComboBox that allows this. Add component Microsoft Forms 2.0 Object Library in Project Properties/Components. It has a second ComboBox. I used it to add 100,000 entries in a test environment. It was a little slow on my 1.2GIGaHertz machine though.
    Using this combobox is a little different than the normal one.

    John G

  5. #5
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: ComboBox Problem - Need Help

    John, maybe you can explain me why did you do it? If, of course, it was not strictly for the test.

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  6. #6
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: ComboBox Problem - Need Help

    Actually Iouri, I did do it just for the test to see if the Forms 2.0 was capable of greter that 32,xxx+ entries before I replied to his message.
    I am with you in the fact that use of a DataBase would be more appropriate if that many records are involved.

    John G

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

Featured