Question Restoring ComboBox Default Text

Kazablanka

New member
Joined
Oct 17, 2010
Messages
1
Location
Wellington, New Zealand
Programming Experience
Beginner
PLEASE HELP!

I'm new to VB.Net (having previously only been familiar with VB6), and am trying the evalution version of Ultimate 2010. I'm having massive trouble with a ComboBox operation. I populate a ComboBox (style: DropDown) with a number of filenames and click on the desired filename to load the file to a RichTextBox. I then pass the focus to the RichTextBox, and restore the ComboBox text back to its default value. The only problem is the default value won't reset - the ComboBox text either remains as the selected filename or if I set SelectedIndex to -1, it is blank.

I've seen people complaining of similar problems on various VB.Net forums, and see that a number of workarounds have been suggested, but I simply can't believe that VB.Net requires an ugly hack for such a simple operation. (It works fine in VB6). Is it a bug?

Grateful for any suggestions. I am so frustrated, at this point I won't be purchasing the programme unless someone can help.
 
Back
Top