Click here to Skip to main content
15,891,372 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Convert Date to Integer Pin
C#Coudou22-Mar-09 21:20
C#Coudou22-Mar-09 21:20 
GeneralRe: Convert Date to Integer Pin
Christian Graus22-Mar-09 21:53
protectorChristian Graus22-Mar-09 21:53 
Questiondatabase connection dotnet with access Pin
hari Rayala22-Mar-09 8:32
hari Rayala22-Mar-09 8:32 
AnswerRe: database connection dotnet with access Pin
DaveAuld22-Mar-09 8:39
professionalDaveAuld22-Mar-09 8:39 
AnswerRe: database connection dotnet with access Pin
dan!sh 22-Mar-09 9:19
professional dan!sh 22-Mar-09 9:19 
QuestionProblem related to sorting of Listview Pin
nazimghori22-Mar-09 8:15
nazimghori22-Mar-09 8:15 
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 
I am programming in VB.NET.

I have a csv comma delimited file with this data in it.

1212.5,10:01:56,2
1212.25,10:01:59,1
1212.5,10:02:00,1
1212.25,10:02:01,1
1212.5,10:02:04,7
1212.25,10:02:04,2
1212.5,10:02:05,2
1212.25,10:02:07,16
1212.5,10:02:10,1
1212.25,10:02:10,1
1212.5,10:02:11,1

I read the second field, which is the time field into this structure TickData(i).dTime.Str But I can't figure out how to put the hour into TickData(i).dTime.H and the minute into TickData(i).dTime.M and the seconds into TickData(i).dTime.S.
My structure's are as follow.

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

Structure TickD
Dim CPrice As Double
Dim dTime As TickTime
Dim Vol As Double
End Structure

Could someone Please help!

Thank You

Gary
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 
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 

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.