473,383 Members | 1,725 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,383 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 2202
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?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?

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.