Click here to Skip to main content
15,922,533 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEnum in VB.net Pin
PIEBALDconsult12-Feb-09 12:53
mvePIEBALDconsult12-Feb-09 12:53 
GeneralRe: Enum in VB.net Pin
Luc Pattyn12-Feb-09 13:28
sitebuilderLuc Pattyn12-Feb-09 13:28 
GeneralRe: Enum in VB.net Pin
PIEBALDconsult12-Feb-09 13:30
mvePIEBALDconsult12-Feb-09 13:30 
GeneralRe: Enum in VB.net Pin
Luc Pattyn12-Feb-09 13:56
sitebuilderLuc Pattyn12-Feb-09 13:56 
GeneralRe: Enum in VB.net Pin
Luc Pattyn12-Feb-09 14:39
sitebuilderLuc Pattyn12-Feb-09 14:39 
GeneralRe: Enum in VB.net Pin
PIEBALDconsult12-Feb-09 17:01
mvePIEBALDconsult12-Feb-09 17:01 
GeneralRe: Enum in VB.net Pin
Luc Pattyn12-Feb-09 17:12
sitebuilderLuc Pattyn12-Feb-09 17:12 
GeneralRe: Enum in VB.net Pin
PIEBALDconsult12-Feb-09 17:18
mvePIEBALDconsult12-Feb-09 17:18 
GeneralRe: Enum in VB.net Pin
Luc Pattyn12-Feb-09 17:38
sitebuilderLuc Pattyn12-Feb-09 17:38 
AnswerRe: Enum in VB.net Pin
Mark Churchill12-Feb-09 14:45
Mark Churchill12-Feb-09 14:45 
GeneralRe: Enum in VB.net Pin
PIEBALDconsult12-Feb-09 17:08
mvePIEBALDconsult12-Feb-09 17:08 
QuestionI am a begginer and need help much:(( Pin
afshing12-Feb-09 11:40
afshing12-Feb-09 11:40 
AnswerRe: I am a begginer and need help much:(( Pin
Christian Graus12-Feb-09 13:36
protectorChristian Graus12-Feb-09 13:36 
AnswerRe: I am a begginer and need help much:(( Pin
Dave Kreskowiak13-Feb-09 3:53
mveDave Kreskowiak13-Feb-09 3:53 
QuestionVB file association script to open faxes in .tiff format in microsoft document imager (MDI) Pin
cpeppy12-Feb-09 11:21
cpeppy12-Feb-09 11:21 
QuestionVB6 Visio Add-IN DLL using a C DLL [modified] Pin
DRCook12-Feb-09 11:19
DRCook12-Feb-09 11:19 
AnswerRe: VB6 Visio Add-IN DLL using a C DLL Pin
DRCook17-Feb-09 16:31
DRCook17-Feb-09 16:31 
QuestionProblems with LINQ; Except method Pin
gGregor8312-Feb-09 10:47
gGregor8312-Feb-09 10:47 
Questioncheck is current time is lie between two times "t1" and "t2" Pin
Member 353030712-Feb-09 8:10
Member 353030712-Feb-09 8:10 
GeneralRe: check is current time is lie between two times "t1" and "t2" Pin
Luc Pattyn12-Feb-09 9:14
sitebuilderLuc Pattyn12-Feb-09 9:14 
Hi,

create DateTime instances of each of your strings (using DateTime.Parse or better yet TryParse),
then compare them with whatever comparison operator you choose (<, <=, >, ...)

FYI1: when year/month/day are absent their current values are used; that normally does not
interfere with delta calculations or comparisons. If you want to get rid of Y/M/D get
the TimeOfDay property (which returns a TimeSpan).

FYI2: TimeSpan could do this too (without any year/month/day) if you were to use 24-hour notation instead of AM/PM notation; AFAIK TimeSpan.Parse does not understand AM/PM.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


QuestionVolume level of MP3 file Pin
Kevnar12-Feb-09 7:51
Kevnar12-Feb-09 7:51 
AnswerRe: Volume level of MP3 file Pin
Dave Kreskowiak13-Feb-09 3:51
mveDave Kreskowiak13-Feb-09 3:51 
QuestionLink in MsgBox Pin
ivo7512-Feb-09 7:09
ivo7512-Feb-09 7:09 
AnswerRe: Link in MsgBox Pin
Dave Kreskowiak12-Feb-09 7:32
mveDave Kreskowiak12-Feb-09 7:32 
GeneralRe: Link in MsgBox Pin
ivo7512-Feb-09 8:02
ivo7512-Feb-09 8:02 

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.