Click here to Skip to main content
15,884,917 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Process Naming Pin
Maffyx10-Apr-08 16:32
Maffyx10-Apr-08 16:32 
GeneralRe: Process Naming Pin
Dave Kreskowiak11-Apr-08 1:23
mveDave Kreskowiak11-Apr-08 1:23 
QuestionNEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex2192678-Apr-08 17:31
Alex2192678-Apr-08 17:31 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Christian Graus8-Apr-08 18:54
protectorChristian Graus8-Apr-08 18:54 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex2192678-Apr-08 19:36
Alex2192678-Apr-08 19:36 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Christian Graus8-Apr-08 19:42
protectorChristian Graus8-Apr-08 19:42 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex2192678-Apr-08 19:55
Alex2192678-Apr-08 19:55 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Christian Graus8-Apr-08 20:09
protectorChristian Graus8-Apr-08 20:09 
Weird - seems like you can change your votes now ? You used to be told you'd already voted....

Anyhow, the foreach keyword lets you iterate over items in your listbox. The Length ( or Count ) property lets you know how many items there are. In both cases, this means you can write code that steps over all the items in the collection, instead of your code assuming a set length.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex2192679-Apr-08 3:19
Alex2192679-Apr-08 3:19 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex2192679-Apr-08 16:33
Alex2192679-Apr-08 16:33 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex21926710-Apr-08 17:21
Alex21926710-Apr-08 17:21 
GeneralRe: NEWBIE PROGRAMMER LEARNING QUESTION ON LISTBOX AND ADDING CONTENT TO DISPLAY IN LABEL Pin
Alex21926710-Apr-08 17:22
Alex21926710-Apr-08 17:22 
QuestionInstalling vb.net application Pin
KrisnNala8-Apr-08 8:27
KrisnNala8-Apr-08 8:27 
GeneralRe: Installing vb.net application Pin
Christian Graus8-Apr-08 11:21
protectorChristian Graus8-Apr-08 11:21 
GeneralRe: Installing vb.net application Pin
KrisnNala8-Apr-08 20:59
KrisnNala8-Apr-08 20:59 
GeneralFilename Pin
Zaegra8-Apr-08 7:15
Zaegra8-Apr-08 7:15 
GeneralRe: Filename Pin
Luc Pattyn8-Apr-08 7:19
sitebuilderLuc Pattyn8-Apr-08 7:19 
GeneralRe: Filename Pin
Zaegra8-Apr-08 7:24
Zaegra8-Apr-08 7:24 
GeneralAdding/Removing values from webbrowser control context menu Pin
Ahmad Zaidi8-Apr-08 4:55
Ahmad Zaidi8-Apr-08 4:55 
GeneralRe: Adding/Removing values from webbrowser control context menu Pin
Dave Kreskowiak8-Apr-08 7:14
mveDave Kreskowiak8-Apr-08 7:14 
Questionusing Crystal report in vb.Net Pin
Arunava358-Apr-08 3:57
Arunava358-Apr-08 3:57 
GeneralRe: using Crystal report in vb.Net Pin
Steven J Jowett8-Apr-08 5:31
Steven J Jowett8-Apr-08 5:31 
GeneralRe: using Crystal report in vb.Net Pin
Mycroft Holmes8-Apr-08 17:17
professionalMycroft Holmes8-Apr-08 17:17 
Questionhow to sort arraylist of FileInfo objects based on file's LastAccessTime????? Pin
shraddha19048-Apr-08 2:13
shraddha19048-Apr-08 2:13 
GeneralRe: how to sort arraylist of FileInfo objects based on file's LastAccessTime????? Pin
Christian Graus8-Apr-08 2:19
protectorChristian Graus8-Apr-08 2: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.