Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
Questioni am newbie to the C#, and i don't know which using directive is to use for SecureFileElement. [modified] Pin
Ulhas Morbale5-Jun-07 19:50
professionalUlhas Morbale5-Jun-07 19:50 
AnswerRe: i am newbie to the C#, and i don't know which using directive is to use for SecureFileElement. Pin
Christian Graus5-Jun-07 20:20
protectorChristian Graus5-Jun-07 20:20 
GeneralRe: i am newbie to the C#, and i don't know which using directive is to use for SecureFileElement. Pin
Ulhas Morbale5-Jun-07 20:38
professionalUlhas Morbale5-Jun-07 20:38 
GeneralRe: i am newbie to the C#, and i don't know which using directive is to use for SecureFileElement. Pin
Christian Graus5-Jun-07 20:52
protectorChristian Graus5-Jun-07 20:52 
QuestionMessage Queue Processing Pin
M. J. Jaya Chitra5-Jun-07 19:45
M. J. Jaya Chitra5-Jun-07 19:45 
AnswerRe: Message Queue Processing Pin
SimulationofSai5-Jun-07 20:53
SimulationofSai5-Jun-07 20:53 
GeneralRe: Message Queue Processing Pin
M. J. Jaya Chitra5-Jun-07 21:00
M. J. Jaya Chitra5-Jun-07 21:00 
QuestionOpening ComboBox programmatically? Pin
kbalias5-Jun-07 19:21
kbalias5-Jun-07 19:21 
Hi
I am using Visual Studio 2005 and C# to develop a windows application. I am binding a DataTable to a ComboBox. What I am trying to do in the ComboBox control is to keep track of the text the user enters in the editable part of the ComboBox. I am using the TextChanged event of the ComboBox and each time the text change I want to use that text and query the DataTable and repopulate the ComboBox with all the names that start with that text. I problem I am having is that I also want to open the dropdown part of the ComboBox programmatically when the TextChanged event of the ComboBox fires so that the user can see which names start with his input and then it gives him the chance of selecting a name rather than typing the rest. I tried using the following code in the TextChanged event:

comboBox1.DroppedDown = true;

It does open up the ComboBox, but the mouse pointer disappears then as soon as the pointer enters the windows form that the ComboBox is on. When I try the code inside a button Click event it seems to work fine and the mouse pointer remains visible. Is this a bug in Visual Studio and is there a remedy for this?



Kobus
AnswerRe: Opening ComboBox programmatically? Pin
Manoj Kumar Rai5-Jun-07 20:41
professionalManoj Kumar Rai5-Jun-07 20:41 
AnswerRe: Opening ComboBox programmatically? Pin
Seishin#5-Jun-07 22:04
Seishin#5-Jun-07 22:04 
AnswerRe: Opening ComboBox programmatically? Pin
kbalias5-Jun-07 22:35
kbalias5-Jun-07 22:35 
QuestionCreating System/Special Folders in Windows using C# Pin
ramesh_nrk5-Jun-07 19:08
ramesh_nrk5-Jun-07 19:08 
Questionhow to delete a row in grid view on a button in grid view Pin
tauras815-Jun-07 19:03
tauras815-Jun-07 19:03 
AnswerRe: how to delete a row in grid view on a button in grid view Pin
Manoj Kumar Rai5-Jun-07 21:19
professionalManoj Kumar Rai5-Jun-07 21:19 
AnswerRe: how to delete a row in grid view on a button in grid view Pin
vibhas19826-Jun-07 2:23
vibhas19826-Jun-07 2:23 
QuestionHow to get a value from other forms Pin
Nine_5-Jun-07 18:43
Nine_5-Jun-07 18:43 
AnswerRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 19:00
protectorChristian Graus5-Jun-07 19:00 
GeneralRe: How to get a value from other forms Pin
Nine_5-Jun-07 20:04
Nine_5-Jun-07 20:04 
GeneralRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 20:21
protectorChristian Graus5-Jun-07 20:21 
GeneralRe: How to get a value from other forms Pin
ScottM15-Jun-07 20:20
ScottM15-Jun-07 20:20 
GeneralRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 20:22
protectorChristian Graus5-Jun-07 20:22 
GeneralRe: How to get a value from other forms Pin
Nine_5-Jun-07 20:40
Nine_5-Jun-07 20:40 
GeneralRe: How to get a value from other forms Pin
Christian Graus5-Jun-07 20:48
protectorChristian Graus5-Jun-07 20:48 
GeneralRe: How to get a value from other forms Pin
Nine_5-Jun-07 20:51
Nine_5-Jun-07 20:51 
GeneralRe: How to get a value from other forms Pin
ScottM15-Jun-07 20:51
ScottM15-Jun-07 20:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.