Click here to Skip to main content
15,072,391 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Great Confusing Problem with VB.NET Pin
Robot Sun17-Jul-15 23:26
MemberRobot Sun17-Jul-15 23:26 
QuestionIf internet connection is present , get the real date and time Pin
satc10-Jun-15 17:38
Membersatc10-Jun-15 17:38 
AnswerRe: If internet connection is present , get the real date and time Pin
Richard MacCutchan10-Jun-15 21:36
mveRichard MacCutchan10-Jun-15 21:36 
Questionvb.net 2010 default value for shared variable Pin
classy_dog10-Jun-15 8:47
Memberclassy_dog10-Jun-15 8:47 
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
Memberclassy_dog10-Jun-15 5:49 
In a VB.NET 2010 desktop application, I am using the following new logic to load values into a combo box.
Public dirAccessFiles As String() = Directory.GetFiles("H:\FilesTest", "*.accdb")
 Try
            Dim dir As String

            For Each dir In dirAccessFiles
                cboAccessFile.Items.Add(Path.GetFileNameWithoutExtension(dir))
            Next
        Catch except As Exception
            Console.WriteLine("The process failed: {0}", e.ToString())
        End Try

The user wants the file names to be in descending order in the combo box. Thus, can you tell me how to modify the code list above and/or would you show me code on how I can load file names into the combo box in descending order?
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
MemberWombaticus10-Jun-15 8:58 
GeneralRe: vb.net combo box Pin
classy_dog10-Jun-15 12:07
Memberclassy_dog10-Jun-15 12:07 
GeneralRe: vb.net combo box Pin
Wombaticus10-Jun-15 12:58
MemberWombaticus10-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
MemberWombaticus10-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
MemberWombaticus10-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
MemberWombaticus11-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
Memberclassy_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
MemberJens Madsen, Højby14-Jul-15 21:19 

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.