Click here to Skip to main content
15,913,669 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem related to sorting of Listview Pin
DaveAuld22-Mar-09 8:48
professionalDaveAuld22-Mar-09 8:48 
QuestionReading Time Pin
Gary M22-Mar-09 3:47
Gary M22-Mar-09 3:47 
AnswerRe: Reading Time Pin
George B Gilbert22-Mar-09 5:30
George B Gilbert22-Mar-09 5:30 
GeneralRe: Reading Time Pin
Gary M22-Mar-09 6:46
Gary M22-Mar-09 6:46 
GeneralRe: Reading Time Pin
Gary M22-Mar-09 6:58
Gary M22-Mar-09 6:58 
GeneralRe: Reading Time Pin
George B Gilbert22-Mar-09 7:43
George B Gilbert22-Mar-09 7:43 
GeneralRe: Reading Time Pin
Gary M22-Mar-09 11:43
Gary M22-Mar-09 11:43 
GeneralRe: Reading Time Pin
George B Gilbert22-Mar-09 12:17
George B Gilbert22-Mar-09 12:17 
1. Looks like there is a possible scope issue. Try making both of the Structures and all of their components Public. E.g.:

Public Structure TickTime
    Public H As Single
    Public M As Single
    Public S As Single
    Public Str As String
End Structure


2. All arrays in .NET are zero based. Your For...Next loop starts at 1. You might also use the .NET version for getting array bounds. With the below changes the loop will look at all 51 of the array elements.

For i = 0 To TickData.GetUpperbound(0)


3. I'm assuming there is more code in the LoadData sub other than the Redim statement. Are all 51 elements (including TickData(0)) of the TickData array being populated? If not, that could also cause the error. If there is less than 51 data records being read into the array, the size of the TickData array cannot be larger than the number of data records minus 1.
GeneralRe: Reading Time Pin
Gary M23-Mar-09 11:55
Gary M23-Mar-09 11:55 
GeneralRe: Reading Time Pin
George B Gilbert23-Mar-09 16:28
George B Gilbert23-Mar-09 16:28 
AnswerRe: Reading Time Pin
0x3c022-Mar-09 7:01
0x3c022-Mar-09 7:01 
GeneralRe: Reading Time Pin
Gary M22-Mar-09 11:45
Gary M22-Mar-09 11:45 
QuestionHow to save file to particular location in VB Pin
manni_n22-Mar-09 3:16
manni_n22-Mar-09 3:16 
AnswerRe: How to save file to particular location in VB Pin
DaveAuld22-Mar-09 21:09
professionalDaveAuld22-Mar-09 21:09 
QuestionProblem while executing client-server program Pin
Gagan.2021-Mar-09 18:35
Gagan.2021-Mar-09 18:35 
AnswerRe: Problem while executing client-server program Pin
DaveAuld21-Mar-09 21:28
professionalDaveAuld21-Mar-09 21:28 
QuestionProblem with catching exceptions Pin
Badmafia21-Mar-09 14:57
Badmafia21-Mar-09 14:57 
AnswerRe: Problem with catching exceptions Pin
nlarson1121-Mar-09 15:45
nlarson1121-Mar-09 15:45 
AnswerRe: Problem with catching exceptions Pin
George B Gilbert21-Mar-09 16:45
George B Gilbert21-Mar-09 16:45 
QuestionHow could you select an item in listview from a different tabpage? Pin
JUNEYT21-Mar-09 13:48
JUNEYT21-Mar-09 13:48 
AnswerRe: How could you select an item in listview from a different tabpage? Pin
George B Gilbert21-Mar-09 17:41
George B Gilbert21-Mar-09 17:41 
GeneralRe: How could you select an item in listview from a different tabpage? Pin
JUNEYT22-Mar-09 0:51
JUNEYT22-Mar-09 0:51 
GeneralRe: How could you select an item in listview from a different tabpage? Pin
George B Gilbert22-Mar-09 5:22
George B Gilbert22-Mar-09 5:22 
QuestionWriting an Excel table to a DataTable / The values from Excel-cells with "date"-format are not assumed Pin
TheSolid21-Mar-09 3:19
TheSolid21-Mar-09 3:19 
AnswerSolved: Writing an Excel table to a DataTable / The values from Excel-cells with "date"-format are not assumed [modified] Pin
TheSolid21-Mar-09 21:56
TheSolid21-Mar-09 21:56 

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.