Click here to Skip to main content
15,881,687 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvb.net combo box Pin
classy_dog10-Jun-15 5:49
classy_dog10-Jun-15 5:49 
AnswerRe: vb.net combo box Pin
Richard MacCutchan10-Jun-15 6:07
mveRichard MacCutchan10-Jun-15 6:07 
AnswerRe: vb.net combo box Pin
Wombaticus10-Jun-15 8:58
Wombaticus10-Jun-15 8:58 
GeneralRe: vb.net combo box Pin
classy_dog10-Jun-15 12:07
classy_dog10-Jun-15 12:07 
GeneralRe: vb.net combo box Pin
Wombaticus10-Jun-15 12:58
Wombaticus10-Jun-15 12:58 
SuggestionRe: vb.net combo box Pin
Sascha Lefèvre10-Jun-15 21:46
professionalSascha Lefèvre10-Jun-15 21:46 
GeneralRe: vb.net combo box Pin
Wombaticus10-Jun-15 21:59
Wombaticus10-Jun-15 21:59 
GeneralRe: vb.net combo box Pin
Sascha Lefèvre10-Jun-15 23:24
professionalSascha Lefèvre10-Jun-15 23:24 
Wombaticus wrote:
but I suspect Linq is a bit beyond our OP at present
You're probably right there but it can also be done without Linq:
VB
Dim dirAccessFiles As String() = Directory.GetFiles("H:\FilesTest", "*.accdb")
Dim list As New List(Of String)()
For Each dir As String In dirAccessFiles
    list.Add(Path.GetFileNameWithoutExtension(dir))
Next
list.Sort()
For i As Integer = list.Count - 1 To 0 Step -1
    comboBox1.Items.Add(list(i))
Next

If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

GeneralRe: vb.net combo box Pin
Wombaticus10-Jun-15 23:38
Wombaticus10-Jun-15 23:38 
General(Off topic) Pin
Sascha Lefèvre10-Jun-15 23:50
professionalSascha Lefèvre10-Jun-15 23:50 
GeneralRe: (Off topic) Pin
Wombaticus11-Jun-15 0:11
Wombaticus11-Jun-15 0:11 
GeneralRe: (Off topic) Pin
Sascha Lefèvre11-Jun-15 0:41
professionalSascha Lefèvre11-Jun-15 0:41 
GeneralRe: (Off topic) Pin
Richard MacCutchan11-Jun-15 1:05
mveRichard MacCutchan11-Jun-15 1:05 
GeneralRe: vb.net combo box Pin
CHill6011-Jun-15 4:53
mveCHill6011-Jun-15 4:53 
GeneralRe: vb.net combo box Pin
classy_dog11-Jun-15 6:18
classy_dog11-Jun-15 6:18 
GeneralRe: vb.net combo box Pin
Sascha Lefèvre11-Jun-15 6:41
professionalSascha Lefèvre11-Jun-15 6:41 
GeneralRe: vb.net combo box Pin
Richard MacCutchan10-Jun-15 22:56
mveRichard MacCutchan10-Jun-15 22:56 
GeneralRe: vb.net combo box Pin
Jens Madsen, Højby14-Jul-15 21:19
Jens Madsen, Højby14-Jul-15 21:19 
AnswerRe: vb.net combo box Pin
Sascha Lefèvre10-Jun-15 14:21
professionalSascha Lefèvre10-Jun-15 14:21 
SuggestionRe: vb.net combo box Pin
Richard Deeming11-Jun-15 2:17
mveRichard Deeming11-Jun-15 2:17 
GeneralRe: vb.net combo box Pin
Sascha Lefèvre11-Jun-15 2:40
professionalSascha Lefèvre11-Jun-15 2:40 
QuestionUpdate only some classes on entity framework model Pin
satc8-Jun-15 20:45
satc8-Jun-15 20:45 
AnswerRe: Update only some classes on entity framework model Pin
Dave Kreskowiak9-Jun-15 7:01
mveDave Kreskowiak9-Jun-15 7:01 
Questionvb.net 2010 desktop app value displayed in combo box Pin
classy_dog8-Jun-15 11:48
classy_dog8-Jun-15 11:48 
AnswerRe: vb.net 2010 desktop app value displayed in combo box Pin
Sascha Lefèvre8-Jun-15 18:27
professionalSascha Lefèvre8-Jun-15 18:27 

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.