Click here to Skip to main content
16,008,719 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to program a digital persona fingerprint scanner in VB? Pin
Dave Kreskowiak27-Oct-07 3:41
mveDave Kreskowiak27-Oct-07 3:41 
Questionsearching a formatted Listbox Pin
iSeeGhosts26-Oct-07 16:47
iSeeGhosts26-Oct-07 16:47 
AnswerRe: searching a formatted Listbox Pin
Luc Pattyn26-Oct-07 16:59
sitebuilderLuc Pattyn26-Oct-07 16:59 
QuestionCode For Closing The One Windows Form Pin
Pavan s26-Oct-07 14:45
Pavan s26-Oct-07 14:45 
AnswerRe: Code For Closing The One Windows Form Pin
Dave Kreskowiak27-Oct-07 3:36
mveDave Kreskowiak27-Oct-07 3:36 
QuestionTDateTime (Delphi) to VB conversion Pin
Hurricane300026-Oct-07 13:02
Hurricane300026-Oct-07 13:02 
AnswerRe: TDateTime (Delphi) to VB conversion Pin
Dave Kreskowiak27-Oct-07 3:40
mveDave Kreskowiak27-Oct-07 3:40 
GeneralRe: TDateTime (Delphi) to VB conversion Pin
Hurricane300027-Oct-07 5:26
Hurricane300027-Oct-07 5:26 
Thanks for help Dave.

Following is a sample of the text file that I need to get data:

Example
-27.350436, 153.055540,1,-777,36169.6307194, 09-Jan-99, 3:08:14
-27.348610, 153.055867,0,-777,36169.6307194, 09-Jan-99, 3:08:14

Field 1 : Latitude - decimal degrees.
Field 2 : Longitude - decimal degrees.
Field 3 : Code - 0 if normal, 1 if break in track line
Field 4 : Altitude in feet (-777 if not valid)
Field 5 : Date - see Date Format below, if blank a preset date will be used
Field 6 : Date as a string
Field 7 : Time as a string

Date Format

Delphi stores date and time values in the TDateTime type. The integral part of a TDateTime value is the number of days that have passed since 12/30/1899. The fractional part of a TDateTime value is the time of day.

Following are some examples of TDateTime values and their corresponding dates and times:

0 --------> 12/30/1899 12:00 am
2.75 -----> 1/1/1900 6:00 pm
-1.25 ----> 12/29/1899 6:00 am
35065 ----> 1/1/1996 12:00 am

The problem for me is that not ever Date and Time (in string format) are present in the text file, but only the TDateTime format.

I hope that with above sample is more easy to understand my problem.

Marco
QuestionSystem.Data.SqlClient.SqlDataReader has no instructor??? Pin
kc_renji26-Oct-07 8:07
kc_renji26-Oct-07 8:07 
AnswerRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Dave Kreskowiak26-Oct-07 9:54
mveDave Kreskowiak26-Oct-07 9:54 
GeneralRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Paul Conrad26-Oct-07 17:41
professionalPaul Conrad26-Oct-07 17:41 
GeneralRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Dave Kreskowiak26-Oct-07 18:13
mveDave Kreskowiak26-Oct-07 18:13 
GeneralRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Paul Conrad27-Oct-07 13:06
professionalPaul Conrad27-Oct-07 13:06 
AnswerRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
pmarfleet26-Oct-07 11:48
pmarfleet26-Oct-07 11:48 
AnswerRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Guffa26-Oct-07 23:02
Guffa26-Oct-07 23:02 
QuestionMy Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster26-Oct-07 8:05
SlickyMaster26-Oct-07 8:05 
AnswerRe: My Access database isn't being updated, but no errors occurred in my application Pin
Dave Kreskowiak26-Oct-07 9:49
mveDave Kreskowiak26-Oct-07 9:49 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
Paul Conrad27-Oct-07 8:32
professionalPaul Conrad27-Oct-07 8:32 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster29-Oct-07 1:19
SlickyMaster29-Oct-07 1:19 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
Dave Kreskowiak29-Oct-07 2:23
mveDave Kreskowiak29-Oct-07 2:23 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster29-Oct-07 3:58
SlickyMaster29-Oct-07 3:58 
AnswerRe: My Access database isn't being updated, but no errors occurred in my application Pin
Paul Conrad27-Oct-07 8:33
professionalPaul Conrad27-Oct-07 8:33 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster29-Oct-07 4:39
SlickyMaster29-Oct-07 4:39 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
Paul Conrad29-Oct-07 12:57
professionalPaul Conrad29-Oct-07 12:57 
GeneralRe: My Access database isn't being updated, but no errors occurred in my application Pin
SlickyMaster30-Oct-07 1:26
SlickyMaster30-Oct-07 1:26 

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.