| | |
Runtime Error 424:
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2008
Posts: 45
Reputation:
Solved Threads: 0
Hi folks,
In My Application i have used the date function to find the difference between two date.but while executing is showing that runtime erroe 424,object required.
Can anyone plz help me fast...
This is the code i have used
Dim date1, date2 As Date
Dim diff As Long
date1 = CDate(txtDOB.Text)
date2 = Date
diff = DateDiff(DateInterval.Month, date2, date1)
MsgBox diff
plz send the answer in my email also:jithusit@gmail.com
In My Application i have used the date function to find the difference between two date.but while executing is showing that runtime erroe 424,object required.
Can anyone plz help me fast...
This is the code i have used
Dim date1, date2 As Date
Dim diff As Long
date1 = CDate(txtDOB.Text)
date2 = Date
diff = DateDiff(DateInterval.Month, date2, date1)
MsgBox diff
plz send the answer in my email also:jithusit@gmail.com
•
•
Join Date: Jul 2007
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Hi folks,
In My Application i have used the date function to find the difference between two date.but while executing is showing that runtime erroe 424,object required.
Can anyone plz help me fast...
This is the code i have used
Dim date1, date2 As Date
Dim diff As Long
date1 = CDate(txtDOB.Text)
date2 = Date
diff = DateDiff(DateInterval.Month, date2, date1)
MsgBox diff
plz send the answer in my email also:jithusit@gmail.com
DateInterval.Month is for Vb.Net
FOr VB use
diff = DateDiff("m", date2, date1)
•
•
•
•
DateInterval.Month is for Vb.Net
FOr VB use
diff = DateDiff("m", date2, date1)
Just post code for vb 6 in this section friend
, cause there are section for vb.net Last edited by Jx_Man; Jul 2nd, 2008 at 11:18 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
![]() |
Similar Threads
- Getting the runtime error 424 (objet required) (Visual Basic 4 / 5 / 6)
- Stumped: Error on Combo Box Sort (MS Access and FileMaker Pro)
- Text RPG (Visual Basic 4 / 5 / 6)
- Adding pictures (Visual Basic 4 / 5 / 6)
- I get a Runtime Error 424 when trying to access a file in VB (Visual Basic 4 / 5 / 6)
- Runtime Error 424 object required (was: Please Help!) (Visual Basic 4 / 5 / 6)
- This a tough One - really really (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: textbox to textbox.. please help..
- Next Thread: Cannot set ListFillRange for embedded Listbox
Views: 949 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






