Click here to Skip to main content
15,892,697 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: errore in retrev data Pin
A Wong20-Mar-08 7:38
A Wong20-Mar-08 7:38 
GeneralRe: errore in retrev data Pin
asha_s20-Mar-08 8:22
asha_s20-Mar-08 8:22 
GeneralRe: errore in retrev data Pin
A Wong20-Mar-08 7:09
A Wong20-Mar-08 7:09 
GeneralRe: errore in retrev data Pin
asha_s20-Mar-08 8:25
asha_s20-Mar-08 8:25 
QuestionHow large of file size that can play on media player Pin
abelinze20-Mar-08 4:27
abelinze20-Mar-08 4:27 
AnswerRe: How large of file size that can play on media player Pin
Dave Kreskowiak20-Mar-08 5:30
mveDave Kreskowiak20-Mar-08 5:30 
Questionhelp about Max value?? Pin
outaleb20-Mar-08 4:06
outaleb20-Mar-08 4:06 
AnswerRe: help about Max value?? Pin
Dave Kreskowiak20-Mar-08 5:28
mveDave Kreskowiak20-Mar-08 5:28 
This isn't as complicated as you make it sound. All you have to do is put this array through a method that looks for blocks of numbers, bracketed by 0's. Then you run each block through another method that returns the highest number in that block. I simple scan of all the values, keeping track of the highest value you saw should do it.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: help about Max value?? Pin
outaleb20-Mar-08 5:34
outaleb20-Mar-08 5:34 
GeneralRe: help about Max value?? Pin
Dave Kreskowiak20-Mar-08 5:58
mveDave Kreskowiak20-Mar-08 5:58 
GeneralRe: help about Max value?? Pin
Paul Conrad20-Mar-08 6:01
professionalPaul Conrad20-Mar-08 6:01 
GeneralRe: help about Max value?? Pin
outaleb20-Mar-08 6:26
outaleb20-Mar-08 6:26 
GeneralRe: help about Max value?? Pin
Paul Conrad20-Mar-08 6:51
professionalPaul Conrad20-Mar-08 6:51 
GeneralRe: help about Max value?? Pin
outaleb27-Mar-08 1:20
outaleb27-Mar-08 1:20 
QuestionWhy does it give me this error? Pin
jdstuart20-Mar-08 0:56
jdstuart20-Mar-08 0:56 
AnswerRe: Why does it give me this error? Pin
Dave Kreskowiak20-Mar-08 5:22
mveDave Kreskowiak20-Mar-08 5:22 
AnswerRe: Why does it give me this error? Pin
Christian Graus20-Mar-08 11:46
protectorChristian Graus20-Mar-08 11:46 
GeneralWeb Services in VB Pin
WinCrs19-Mar-08 23:29
WinCrs19-Mar-08 23:29 
GeneralRe: Web Services in VB Pin
Dave Kreskowiak20-Mar-08 5:15
mveDave Kreskowiak20-Mar-08 5:15 
Generalreading xml from string variable and writing it in file in vb.net Pin
sumit703419-Mar-08 22:58
sumit703419-Mar-08 22:58 
GeneralRe: reading xml from string variable and writing it in file in vb.net Pin
Dave Kreskowiak20-Mar-08 5:13
mveDave Kreskowiak20-Mar-08 5:13 
QuestionReading from an excel spreadsheet and storing the informaton in a table??? Pin
Mr Oizo19-Mar-08 22:30
Mr Oizo19-Mar-08 22:30 
AnswerRe: Reading from an excel spreadsheet and storing the informaton in a table??? [modified] Pin
Madang19-Mar-08 23:18
Madang19-Mar-08 23:18 
GeneralRe: Reading from an excel spreadsheet and storing the informaton in a table??? Pin
Mr Oizo20-Mar-08 0:26
Mr Oizo20-Mar-08 0:26 
QuestionProgram Is Runing? Pin
Mogtabam19-Mar-08 19:15
Mogtabam19-Mar-08 19:15 

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.