Click here to Skip to main content
15,924,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalshortening my code Pin
ibok2324-Mar-04 15:08
ibok2324-Mar-04 15:08 
GeneralRe: shortening my code Pin
Nadroj24-Mar-04 17:52
Nadroj24-Mar-04 17:52 
GeneralRe: shortening my code Pin
Dave Kreskowiak25-Mar-04 1:07
mveDave Kreskowiak25-Mar-04 1:07 
GeneralRe: shortening my code Pin
ibok2325-Mar-04 3:21
ibok2325-Mar-04 3:21 
GeneralRe: shortening my code Pin
Wayne Phipps25-Mar-04 4:10
Wayne Phipps25-Mar-04 4:10 
GeneralRe: shortening my code Pin
Dave Kreskowiak25-Mar-04 4:11
mveDave Kreskowiak25-Mar-04 4:11 
GeneralRe: shortening my code Pin
ibok2325-Mar-04 4:25
ibok2325-Mar-04 4:25 
GeneralRe: shortening my code Pin
Dave Kreskowiak25-Mar-04 4:37
mveDave Kreskowiak25-Mar-04 4:37 
DateDiff is apparently giving you the number of days between the two dates, not inclusive of the actual days that the dates fall on. If you pick Thursday and the very next Friday, DateDiff(Day) will will return 0. If you pick Thursday and Saturday, it will return 1.

The solution is to just add 1 to whatever DateDiff returns.


RageInTheMachine9532
GeneralRe: shortening my code Pin
Wayne Phipps25-Mar-04 4:49
Wayne Phipps25-Mar-04 4:49 
GeneralRe: shortening my code Pin
ibok2325-Mar-04 4:59
ibok2325-Mar-04 4:59 
GeneralData Bound ComboBox Formatting Pin
Karsten.Habay@skynet.be24-Mar-04 10:43
Karsten.Habay@skynet.be24-Mar-04 10:43 
GeneralCD Audio Extraction Pin
RobReid24-Mar-04 10:41
RobReid24-Mar-04 10:41 
GeneralRe: CD Audio Extraction Pin
Dave Kreskowiak24-Mar-04 11:05
mveDave Kreskowiak24-Mar-04 11:05 
GeneralRe: CD Audio Extraction Pin
RobReid24-Mar-04 11:33
RobReid24-Mar-04 11:33 
GeneralRe: CD Audio Extraction Pin
Dave Kreskowiak24-Mar-04 12:04
mveDave Kreskowiak24-Mar-04 12:04 
GeneralRe: CD Audio Extraction Pin
RobReid24-Mar-04 12:25
RobReid24-Mar-04 12:25 
QuestionHow to pull a field from a Dataset??? Pin
hounetdev24-Mar-04 9:36
hounetdev24-Mar-04 9:36 
AnswerRe: How to pull a field from a Dataset??? Pin
Pugzley24-Mar-04 17:46
Pugzley24-Mar-04 17:46 
AnswerRe: How to pull a field from a Dataset??? Pin
Pradeep C24-Mar-04 19:11
Pradeep C24-Mar-04 19:11 
GeneralRe: How to pull a field from a Dataset??? Pin
hounetdev25-Mar-04 7:12
hounetdev25-Mar-04 7:12 
GeneralCurrency Pin
ibok2324-Mar-04 6:33
ibok2324-Mar-04 6:33 
GeneralRe: Currency Pin
Steve S24-Mar-04 6:44
Steve S24-Mar-04 6:44 
GeneralRe: Currency Pin
ibok2324-Mar-04 6:57
ibok2324-Mar-04 6:57 
GeneralRe: Currency Pin
Dave Kreskowiak24-Mar-04 8:58
mveDave Kreskowiak24-Mar-04 8:58 
GeneralRe: Currency Pin
ibok2324-Mar-04 9:35
ibok2324-Mar-04 9:35 

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.