473,388 Members | 1,426 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

make combox non editable in VB .net windows application

Dear all, i'm newbies to .net (VB) development and i've got a little
question.(i use microsoft visual studio to develop but i can code also)
i created a form with a comboxbox. When i launch it, the comboxbox is
editable. I'd like it to be non-editable. Could you tell me what's the way to
get it non-editable? (i'd like it to appear as a 'select' in html; so that
you can not type text into ;-)

Thanks in advance for your help,

Sebastien.
Nov 22 '05 #1
2 2203
Sebastian,

Set the dropdownstyle to dropdownlist the same as in the webform

http://msdn.microsoft.com/library/de...styletopic.asp

Did you know that there is a very active newsgroup for VBNet

Microsoft.public.dotnet.languages.vb

(There are as well specialized ones however not so active)

I hope this helps?

Cor
Nov 22 '05 #2
Set the dropdownstyle of the combobox to DropDownStyle.DropDownList

"sebastien roupin" <sebastien ro****@discussions.microsoft.com> wrote in
message news:1C**********************************@microsof t.com...
Dear all, i'm newbies to .net (VB) development and i've got a little
question.(i use microsoft visual studio to develop but i can code also)
i created a form with a comboxbox. When i launch it, the comboxbox is
editable. I'd like it to be non-editable. Could you tell me what's the way
to
get it non-editable? (i'd like it to appear as a 'select' in html; so that
you can not type text into ;-)

Thanks in advance for your help,

Sebastien.
Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sebastien roupin | last post by:
Dear all, i'm newbies to .net (VB) development and i've got a little question.(i use microsoft visual studio to develop but i can code also) i created a form with a comboxbox. When i launch it, the...
0
by: raj | last post by:
Please Help with the combox DisplayValue property private void cboClient_SelectionChangeCommitted(object sender, System.EventArgs e) { String strSQL; strSQL = "SELECT F.FollowUpPerson FROM...
0
by: raj | last post by:
Please Help with the combox DisplayValue property private void cboClient_SelectionChangeCommitted(object sender, System.EventArgs e) { String strSQL; strSQL = "SELECT F.FollowUpPerson FROM...
4
by: kbarber | last post by:
Can someone tell me how to build a C sharp application from a solution that I could then email to someone else?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.