Solved

multicolumn combobox

Posted on 2004-08-03
13
536 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
 

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 70

Expert Comment

by:Éric Moreau
ID: 11901541
Why don't you create your own multi-column combo based on these articles?
0
 
LVL 70

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 70

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 70

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

623 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