Click here to Skip to main content
15,890,043 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProblem with syntax highlighting Pin
Zyndrof16-Nov-06 7:06
Zyndrof16-Nov-06 7:06 
AnswerRe: Problem with syntax highlighting Pin
Johan Hakkesteegt17-Nov-06 5:42
Johan Hakkesteegt17-Nov-06 5:42 
QuestionTimeGetTime() Issue Pin
downfall2116-Nov-06 5:33
downfall2116-Nov-06 5:33 
AnswerRe: TimeGetTime() Issue Pin
Dave Kreskowiak16-Nov-06 6:06
mveDave Kreskowiak16-Nov-06 6:06 
GeneralRe: TimeGetTime() Issue Pin
downfall2116-Nov-06 6:15
downfall2116-Nov-06 6:15 
GeneralRe: TimeGetTime() Issue Pin
Dave Kreskowiak16-Nov-06 6:21
mveDave Kreskowiak16-Nov-06 6:21 
GeneralRe: TimeGetTime() Issue Pin
downfall2116-Nov-06 6:47
downfall2116-Nov-06 6:47 
GeneralRe: TimeGetTime() Issue Pin
Dave Kreskowiak16-Nov-06 9:00
mveDave Kreskowiak16-Nov-06 9:00 
It's simple math...
Dim currentTime As DateTime = DateTime.Now()
Dim msSinceMidnight As Integer
msSinceMidnight = currentTime.Millisecond + _
    currentTime.Second * 1000 + _
    currentTime.Minute * 60000 + _
    currentTime.Hour * 3600000

Instead of going through all this, why not just have the database use a compound key and generate the last part of the key with an autonumber field?


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: TimeGetTime() Issue Pin
downfall2117-Nov-06 3:38
downfall2117-Nov-06 3:38 
GeneralRe: TimeGetTime() Issue Pin
Dave Kreskowiak17-Nov-06 13:27
mveDave Kreskowiak17-Nov-06 13:27 
QuestionAdd dll's, Clickonce deployment Pin
steve_rm16-Nov-06 5:27
steve_rm16-Nov-06 5:27 
QuestionListBox Control Pin
CodingYoshi16-Nov-06 5:24
CodingYoshi16-Nov-06 5:24 
AnswerRe: ListBox Control Pin
nlarson1116-Nov-06 6:15
nlarson1116-Nov-06 6:15 
AnswerRe: ListBox Control Pin
Dave Kreskowiak16-Nov-06 6:20
mveDave Kreskowiak16-Nov-06 6:20 
GeneralRe: ListBox Control Pin
CodingYoshi16-Nov-06 6:36
CodingYoshi16-Nov-06 6:36 
GeneralRe: ListBox Control Pin
CodingYoshi16-Nov-06 6:43
CodingYoshi16-Nov-06 6:43 
Questiondata from VB.NET to MS Excel Pin
Johan Hakkesteegt16-Nov-06 4:04
Johan Hakkesteegt16-Nov-06 4:04 
AnswerRe: data from VB.NET to MS Excel Pin
Kevin Nicol16-Nov-06 4:19
Kevin Nicol16-Nov-06 4:19 
GeneralRe: data from VB.NET to MS Excel Pin
Johan Hakkesteegt16-Nov-06 4:55
Johan Hakkesteegt16-Nov-06 4:55 
AnswerRe: data from VB.NET to MS Excel Pin
Kevin Nicol16-Nov-06 7:16
Kevin Nicol16-Nov-06 7:16 
GeneralRe: data from VB.NET to MS Excel Pin
Johan Hakkesteegt16-Nov-06 7:32
Johan Hakkesteegt16-Nov-06 7:32 
GeneralRe: data from VB.NET to MS Excel Pin
Kevin Nicol16-Nov-06 8:00
Kevin Nicol16-Nov-06 8:00 
QuestionError('20527' sql server error) while connecting ADO recodset to crystal report Pin
Ramesh N G16-Nov-06 3:19
Ramesh N G16-Nov-06 3:19 
Questionselect case Pin
charchabil0316-Nov-06 2:05
charchabil0316-Nov-06 2:05 
AnswerRe: select case Pin
nlarson1116-Nov-06 3:57
nlarson1116-Nov-06 3:57 

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.