Solved

multicolumn combobox

Posted on 2004-08-03
13
514 Views
Last Modified: 2008-02-01
I want to use multicolumn combobox in my program.  and I have not found any such facility in vb.net
Is there any way to use multicolumn combobox in vb.net like VB6

thanks
SS
0
Comment
Question by:ssonia27
  • 5
  • 3
13 Comments
 
LVL 4

Expert Comment

by:rohanpandya
ID: 11703050
Hi

    I don't think show that there is any functionality like multi column combo in the vb.net. Ya you can use like in item collection you can enter data by giving space so they looks like different column.

   
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 11703414
0
 

Author Comment

by:ssonia27
ID: 11899520
emoreau has given good links for multicolumn combobox feature.
but these are all lengthy methods and contains code to add values in multicolumns at runtime only.
my requirement is to have almost20-30 multicolumn comboboxes in my form.
so this idea has not solved my problem.

SS
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 11901541
Why don't you create your own multi-column combo based on these articles?
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 69

Expert Comment

by:Éric Moreau
ID: 11901551
You surely have a ready one in: http://msdn.microsoft.com/vbasic/vbrkit/
0
 

Author Comment

by:ssonia27
ID: 11911730
I have designed one multicolumn combobox. but for this I'm using listview, textbox and commandbutton controls. this is also time consuming method and make form very heavy.
so I want to use property file type functionality to implement multicolumn combobox.
for my requirement , in front end only single column combobox will also work. but in coding I need code of the value selected from the combobox.
so without multicoulm combobox, this can be done.

now I'm searching for how to use property file to implement this.
is there any idea for this?

SS

0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 11911776
encapsulate your listview, textbox and commandbutton all in a usercontrol. once it will be created, all you will need to do is to replace the declaration from ComboBox ty YourComboBoxName.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 11911801
why don't you use the ready made from http://www.devwire.net/ComboPlus.aspx
0
 

Author Comment

by:ssonia27
ID: 12014708
encapsulation of  controls is good to implement and free combobox from the given link is good.
but I'm using property files to load and get values from combobox.
this method works fine.

I'm accepting emoreau's answer "encapsulation of controls".

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now