Click here to Skip to main content
15,895,782 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: vb.net 2010 default value for shared variable Pin
Eddy Vluggen10-Jun-15 9:34
professionalEddy Vluggen10-Jun-15 9:34 
AnswerRe: vb.net 2010 default value for shared variable Pin
Wes Aday10-Jun-15 9:35
professionalWes Aday10-Jun-15 9:35 
AnswerRe: vb.net 2010 default value for shared variable Pin
Maciej Los10-Jun-15 12:16
mveMaciej Los10-Jun-15 12:16 
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 
Well...

Add ListBox1 to form
set
VB
ListBox1.Visible = False  ' don't want users seeing this
ListBox1.Sorted = True
VB
Public dirAccessFiles As String() = Directory.GetFiles("H:\FilesTest", "*.accdb")
...
VB
For Each dir In dirAccessFiles
    ListBox1.Items.Add(Path.GetFileNameWithoutExtension(dir))
Next
' ListBox1 now has the items in alphabetic order
' so, to add them to the combo box in reverse order:
Dim I as integer
For I = ListBox1.Items.Count - 1 To 0 Step -1
   cboAccessFile.Items.Add(ListBox1.Items(I))
Next

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 
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 

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.