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

Visual Basic

 
GeneralRe: Access VBA Timing Problem Pin
Ingo20-Mar-13 0:01
Ingo20-Mar-13 0:01 
Questionusing vb to create a custom email attachment Pin
Member 986550818-Mar-13 10:44
Member 986550818-Mar-13 10:44 
AnswerRe: using vb to create a custom email attachment Pin
Eddy Vluggen18-Mar-13 10:57
professionalEddy Vluggen18-Mar-13 10:57 
GeneralRe: using vb to create a custom email attachment Pin
Member 986550818-Mar-13 13:57
Member 986550818-Mar-13 13:57 
AnswerRe: using vb to create a custom email attachment Pin
Eddy Vluggen19-Mar-13 1:27
professionalEddy Vluggen19-Mar-13 1:27 
GeneralRe: using vb to create a custom email attachment Pin
Member 986550819-Mar-13 4:32
Member 986550819-Mar-13 4:32 
GeneralRe: using vb to create a custom email attachment Pin
Eddy Vluggen19-Mar-13 10:14
professionalEddy Vluggen19-Mar-13 10:14 
QuestionCalculate date between two date? Pin
Akbarblack18-Mar-13 4:31
Akbarblack18-Mar-13 4:31 
XML
I have date:
Start= 2013-18-03 09:00:00 AM
End  = 2013-19-03 03:00:00 PM

What if the day is calculated starting from 12:00:00 PM?

i try this code:

        Dim start As DateTime
        Dim enday As DateTime
        start = "03/18/2013 09:00:00 AM"
        enday = "03/19/2013 03:00:00 PM"
        Dim span As TimeSpan
        span = enday.Subtract(start)
        MsgBox(span)
 

but the result is 1 day, it should be 3 days. Could you give me the suggestion?
Cry | :((

modified 18-Mar-13 10:44am.

QuestionRe: Calculate date between two date? Pin
GuyThiebaut18-Mar-13 5:24
professionalGuyThiebaut18-Mar-13 5:24 
AnswerRe: Calculate date between two date? Pin
dusty_dex18-Mar-13 5:24
dusty_dex18-Mar-13 5:24 
AnswerRe: Calculate date between two date? Pin
Bert Mitton18-Mar-13 5:38
professionalBert Mitton18-Mar-13 5:38 
GeneralRe: Calculate date between two date? Pin
Akbarblack23-Mar-13 6:42
Akbarblack23-Mar-13 6:42 
QuestionStoring booleans in a byte Pin
Jörgen Andersson14-Mar-13 2:30
professionalJörgen Andersson14-Mar-13 2:30 
AnswerRe: Storing booleans in a byte Pin
Peter_in_278014-Mar-13 11:39
professionalPeter_in_278014-Mar-13 11:39 
GeneralRe: Storing booleans in a byte Pin
Jörgen Andersson14-Mar-13 12:30
professionalJörgen Andersson14-Mar-13 12:30 
Questiondirect x Pin
Member 989693213-Mar-13 21:21
Member 989693213-Mar-13 21:21 
AnswerRe: direct x Pin
Richard MacCutchan13-Mar-13 22:46
mveRichard MacCutchan13-Mar-13 22:46 
GeneralRe: direct x Pin
Blikkies14-Mar-13 0:30
professionalBlikkies14-Mar-13 0:30 
GeneralRe: direct x Pin
Richard MacCutchan14-Mar-13 0:35
mveRichard MacCutchan14-Mar-13 0:35 
GeneralRe: direct x Pin
Dave Kreskowiak14-Mar-13 1:31
mveDave Kreskowiak14-Mar-13 1:31 
QuestionMultiple Column combobox and list box Pin
JohnGreen459513-Mar-13 6:26
JohnGreen459513-Mar-13 6:26 
AnswerRe: Multiple Column combobox and list box Pin
Richard MacCutchan13-Mar-13 7:35
mveRichard MacCutchan13-Mar-13 7:35 
GeneralRe: Multiple Column combobox and list box Pin
JohnGreen459514-Mar-13 6:58
JohnGreen459514-Mar-13 6:58 
GeneralRe: Multiple Column combobox and list box Pin
Richard MacCutchan14-Mar-13 7:24
mveRichard MacCutchan14-Mar-13 7:24 
Questioncrystal report with vb.net and sql server database Pin
tonifirnandes12-Mar-13 20:29
tonifirnandes12-Mar-13 20:29 

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.