Click here to Skip to main content
15,912,897 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEvent raises but the required code does not? Pin
Amer Rehman25-May-09 6:11
Amer Rehman25-May-09 6:11 
AnswerRe: Event raises but the required code does not? Pin
Luc Pattyn25-May-09 6:39
sitebuilderLuc Pattyn25-May-09 6:39 
AnswerRe: Event raises but the required code does not? Pin
Dave Kreskowiak25-May-09 6:56
mveDave Kreskowiak25-May-09 6:56 
QuestionSubtract DateTime Pin
she-Developer25-May-09 2:29
she-Developer25-May-09 2:29 
AnswerRe: Subtract DateTime Pin
Luc Pattyn25-May-09 2:46
sitebuilderLuc Pattyn25-May-09 2:46 
GeneralRe: Subtract DateTime Pin
she-Developer25-May-09 2:48
she-Developer25-May-09 2:48 
AnswerRe: Subtract DateTime Pin
she-Developer25-May-09 2:47
she-Developer25-May-09 2:47 
AnswerRe: Subtract DateTime Pin
Tiyani Miyambo25-May-09 2:48
Tiyani Miyambo25-May-09 2:48 
use the substring function

example

time = 2009/05/25 10:00:00AM and time2 = 2009/05/25 11:00:00AM

thus

subtring.time(11,1) this captures the value of 10 and also do the same to time2

just subtract the two substring you will always get the correct hour.

hope you will get the picture
GeneralRe: Subtract DateTime Pin
Tom Deketelaere25-May-09 3:55
professionalTom Deketelaere25-May-09 3:55 
GeneralRe: Subtract DateTime Pin
ScottM126-May-09 3:00
ScottM126-May-09 3:00 
GeneralRe: Subtract DateTime Pin
Jon_Boy26-May-09 4:53
Jon_Boy26-May-09 4:53 
AnswerRe: Subtract DateTime Pin
Mohammed.Al-Qaisi25-May-09 6:15
Mohammed.Al-Qaisi25-May-09 6:15 
AnswerRe: Subtract DateTime Pin
Dave Kreskowiak25-May-09 6:54
mveDave Kreskowiak25-May-09 6:54 
QuestionRun Time Save and Create Application Pin
Anubhava Dimri25-May-09 2:03
Anubhava Dimri25-May-09 2:03 
AnswerRe: Run Time Save and Create Application Pin
Henry Minute25-May-09 4:15
Henry Minute25-May-09 4:15 
AnswerRe: Run Time Save and Create Application Pin
Dave Kreskowiak25-May-09 6:53
mveDave Kreskowiak25-May-09 6:53 
QuestionGroup Datagrid by dragging columns Pin
Nielvh25-May-09 1:42
Nielvh25-May-09 1:42 
AnswerRe: Group Datagrid by dragging columns Pin
Jon_Boy26-May-09 4:56
Jon_Boy26-May-09 4:56 
GeneralRe: Group Datagrid by dragging columns Pin
Nielvh26-May-09 8:31
Nielvh26-May-09 8:31 
GeneralRe: Group Datagrid by dragging columns Pin
Jon_Boy26-May-09 9:37
Jon_Boy26-May-09 9:37 
QuestionDatagridview, Databinding and Checkboxes Pin
gilchinger25-May-09 1:28
gilchinger25-May-09 1:28 
QuestionVirus Category Pin
Anubhava Dimri25-May-09 0:59
Anubhava Dimri25-May-09 0:59 
AnswerRe: Virus Category Pin
EliottA25-May-09 5:45
EliottA25-May-09 5:45 
GeneralRe: Virus Category Pin
Anubhava Dimri25-May-09 18:15
Anubhava Dimri25-May-09 18:15 
AnswerRe: Virus Category Pin
Dave Kreskowiak25-May-09 6:51
mveDave Kreskowiak25-May-09 6:51 

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.