Click here to Skip to main content
15,887,683 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: progress bar Pin
smguc1-Jul-07 17:58
smguc1-Jul-07 17:58 
GeneralRe: progress bar Pin
hsprasain1-Jul-07 19:27
hsprasain1-Jul-07 19:27 
GeneralRe: progress bar Pin
smguc1-Jul-07 19:40
smguc1-Jul-07 19:40 
QuestionMultiple thumbs on a slider control, Help?... Pin
smguc1-Jul-07 17:26
smguc1-Jul-07 17:26 
AnswerRe: Multiple thumbs on a slider control, Help?... Pin
Dave Kreskowiak2-Jul-07 4:48
mveDave Kreskowiak2-Jul-07 4:48 
GeneralRe: Multiple thumbs on a slider control, Help?... Pin
smguc9-Jul-07 2:35
smguc9-Jul-07 2:35 
QuestionArray problems Pin
Bruce Leigh1-Jul-07 15:47
Bruce Leigh1-Jul-07 15:47 
AnswerRe: Array problems [modified] Pin
EvScott1-Jul-07 15:58
EvScott1-Jul-07 15:58 
simple algorithm
declare array
dim myarray(1 to 10) as integer
...
for i = 0 to 9
read num from user
add num to listbox
myarray(i+1)=num 'remember indices in VB start at 1. list boxes are zero indexed.
loop

now that they're in an array and visibly in listbox you can start checking them

smallest = myarray(1) 'assume smallest is first one
for i = 2 to 10 'remember this is the array not listbox
if smallest > myarray(i) then 'if number is less that previous num then
smallest = myarray(i) 'assign smallest to number
loop
...bla bla bla
...do the same with the biggest...


-- modified at 22:05 Sunday 1st July, 2007
AnswerRe: Array problems Pin
SHatchard2-Jul-07 2:18
SHatchard2-Jul-07 2:18 
QuestionFields go missing Pin
Brendan Vogt1-Jul-07 14:07
Brendan Vogt1-Jul-07 14:07 
AnswerRe: Fields go missing [modified] Pin
EvScott1-Jul-07 15:37
EvScott1-Jul-07 15:37 
GeneralRe: Fields go missing Pin
Brendan Vogt1-Jul-07 23:06
Brendan Vogt1-Jul-07 23:06 
GeneralRe: Fields go missing Pin
EvScott2-Jul-07 2:40
EvScott2-Jul-07 2:40 
Questioncombobox in DataGridView control Pin
manisghouri1-Jul-07 13:50
manisghouri1-Jul-07 13:50 
AnswerRe: combobox in DataGridView control Pin
sathesh pandian1-Jul-07 19:19
sathesh pandian1-Jul-07 19:19 
QuestionVirtual keyboard losing window focus. Help! Pin
remarkpk111-Jul-07 13:32
remarkpk111-Jul-07 13:32 
QuestionMAPISession not fetching MS Outlook Emails Pin
EvScott1-Jul-07 8:35
EvScott1-Jul-07 8:35 
QuestionBreaking up strings Pin
Brendan Vogt1-Jul-07 6:43
Brendan Vogt1-Jul-07 6:43 
AnswerRe: Breaking up strings Pin
Guffa1-Jul-07 7:03
Guffa1-Jul-07 7:03 
GeneralRe: Breaking up strings Pin
TwoFaced1-Jul-07 10:47
TwoFaced1-Jul-07 10:47 
GeneralRe: Breaking up strings Pin
Guffa4-Jul-07 5:05
Guffa4-Jul-07 5:05 
AnswerRe: Breaking up strings Pin
Bassam Saoud1-Jul-07 7:25
Bassam Saoud1-Jul-07 7:25 
GeneralRe: Breaking up strings Pin
Guffa1-Jul-07 8:10
Guffa1-Jul-07 8:10 
GeneralRe: Breaking up strings Pin
Bassam Saoud1-Jul-07 8:59
Bassam Saoud1-Jul-07 8:59 
GeneralRe: Breaking up strings Pin
Guffa4-Jul-07 5:21
Guffa4-Jul-07 5:21 

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.