Click here to Skip to main content
16,006,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Currency Pin
Dave Kreskowiak25-Mar-04 0:56
mveDave Kreskowiak25-Mar-04 0:56 
GeneralRe: Currency Pin
Nadroj24-Mar-04 11:35
Nadroj24-Mar-04 11:35 
QuestionHow to find out how many days? Pin
ibok2324-Mar-04 6:27
ibok2324-Mar-04 6:27 
AnswerRe: How to find out how many days? Pin
greg lynch _nj_24-Mar-04 7:41
greg lynch _nj_24-Mar-04 7:41 
GeneralRe: How to find out how many days? Pin
ibok2324-Mar-04 8:06
ibok2324-Mar-04 8:06 
GeneralRe: How to find out how many days? Pin
Dave Kreskowiak24-Mar-04 9:02
mveDave Kreskowiak24-Mar-04 9:02 
GeneralRe: How to find out how many days? Pin
ibok2324-Mar-04 9:39
ibok2324-Mar-04 9:39 
GeneralRe: How to find out how many days? Pin
Dave Kreskowiak24-Mar-04 9:47
mveDave Kreskowiak24-Mar-04 9:47 
ibok23 wrote:
numberofdays.text = datediff(dateinterval.day, dtparrival, dtpcheckout)

You're about half way there. The last two parameters you passed in are the references for the DateTimePicker controls themselves, not their values. Make the following change to get at the Value's in your controls:
numberofdays.Text = DateDiff(DateInterval.Day, dtparrival.Value, dtpcheckout.Value)



RageInTheMachine9532
GeneralRe: How to find out how many days? Pin
ibok2324-Mar-04 10:06
ibok2324-Mar-04 10:06 
GeneralRe: How to find out how many days? Pin
Dave Kreskowiak24-Mar-04 10:32
mveDave Kreskowiak24-Mar-04 10:32 
GeneralData Grids Pin
Robert Gronenthal24-Mar-04 2:37
Robert Gronenthal24-Mar-04 2:37 
GeneralRe: Data Grids Pin
Pradeep C24-Mar-04 19:15
Pradeep C24-Mar-04 19:15 
GeneralRe: Data Grids Pin
Robert Gronenthal25-Mar-04 2:14
Robert Gronenthal25-Mar-04 2:14 
GeneralConverting to / from HTML colour codes Pin
NightCreature24-Mar-04 2:06
NightCreature24-Mar-04 2:06 
GeneralRe: Converting to / from HTML colour codes Pin
Hesham Amin25-Mar-04 1:26
Hesham Amin25-Mar-04 1:26 
GeneralRe: Converting to / from HTML colour codes Pin
NightCreature25-Mar-04 2:42
NightCreature25-Mar-04 2:42 
GeneralStarting a project with 'Sub Main' Pin
Fade (Amit BS)23-Mar-04 23:57
Fade (Amit BS)23-Mar-04 23:57 
GeneralRe: Starting a project with 'Sub Main' Pin
Dave Kreskowiak24-Mar-04 1:30
mveDave Kreskowiak24-Mar-04 1:30 
GeneralRe: Starting a project with 'Sub Main' Pin
Fade (Amit BS)24-Mar-04 1:51
Fade (Amit BS)24-Mar-04 1:51 
GeneralRe: Starting a project with 'Sub Main' Pin
Dave Kreskowiak24-Mar-04 2:10
mveDave Kreskowiak24-Mar-04 2:10 
GeneralRe: Starting a project with 'Sub Main' Pin
Fade (Amit BS)24-Mar-04 3:09
Fade (Amit BS)24-Mar-04 3:09 
Generallistview - iif statement Pin
Chrissy Callen23-Mar-04 23:31
Chrissy Callen23-Mar-04 23:31 
GeneralRe: listview - iif statement Pin
Dave Kreskowiak24-Mar-04 1:25
mveDave Kreskowiak24-Mar-04 1:25 
GeneralRe: listview - iif statement Pin
Petros200424-Mar-04 11:07
Petros200424-Mar-04 11:07 
GeneralAdo with dataGrid Pin
roshanak23-Mar-04 22:02
roshanak23-Mar-04 22: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.