Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Slow registry searching. Pin
Dave Kreskowiak28-Apr-04 1:26
mveDave Kreskowiak28-Apr-04 1:26 
QuestionPossible to retrieve events by a control in webbrowsercontrol? Pin
dartrax27-Apr-04 8:21
dartrax27-Apr-04 8:21 
Answer;-) Pin
Anonymous30-Apr-04 2:27
Anonymous30-Apr-04 2:27 
GeneralRemote Authentication Pin
tolsen6427-Apr-04 7:34
professionaltolsen6427-Apr-04 7:34 
GeneralRe: Remote Authentication Pin
Dave Kreskowiak27-Apr-04 7:44
mveDave Kreskowiak27-Apr-04 7:44 
GeneralNeed help with Date Pin
XGaMeS27-Apr-04 7:09
XGaMeS27-Apr-04 7:09 
GeneralRe: Need help with Date Pin
XGaMeS27-Apr-04 8:28
XGaMeS27-Apr-04 8:28 
GeneralRe: Need help with Date Pin
superwinsock28-Apr-04 2:36
superwinsock28-Apr-04 2:36 
This is for VB6... not sure about .net

Say your first date is 20/12/2000 and your second date is 15/12/2004

Dim strDate1 As String
Dim strDate2 As String
Dim strDifference As String

strDate1 = "20/12/2000"
strDate2 = "15/12/2004"

strDifference = DateDiff("yyyy", strDate1 , strDate2)

msgbox strDifference

'This will be 4 years

Dont know if that is what you were looking for??
Anyway...

Later



GeneralInterop assembly problem Pin
nvmoss27-Apr-04 5:00
nvmoss27-Apr-04 5:00 
GeneralPrinting Pin
Anonymous27-Apr-04 4:52
Anonymous27-Apr-04 4:52 
GeneralControl 'tabbing" problem Pin
nvmoss27-Apr-04 3:55
nvmoss27-Apr-04 3:55 
GeneralRe: Control 'tabbing" problem Pin
Syed Abdul Khader28-Apr-04 0:25
Syed Abdul Khader28-Apr-04 0:25 
GeneralLogin Windows Programmatically Pin
Anonymous27-Apr-04 2:46
Anonymous27-Apr-04 2:46 
GeneralRe: Login Windows Programmatically Pin
Dave Kreskowiak28-Apr-04 1:30
mveDave Kreskowiak28-Apr-04 1:30 
Generalworking with MDI child forms ... Pin
Mohan G26-Apr-04 21:42
Mohan G26-Apr-04 21:42 
GeneralWindows Services Pin
Shenthil26-Apr-04 20:35
Shenthil26-Apr-04 20:35 
GeneralRe: Windows Services Pin
Dave Kreskowiak27-Apr-04 1:54
mveDave Kreskowiak27-Apr-04 1:54 
GeneralRe: Windows Services Pin
Shenthil27-Apr-04 2:51
Shenthil27-Apr-04 2:51 
GeneralRe: Windows Services Pin
Dave Kreskowiak27-Apr-04 3:07
mveDave Kreskowiak27-Apr-04 3:07 
GeneralIRDA Pin
monn26-Apr-04 16:15
monn26-Apr-04 16:15 
GeneralRe: IRDA Pin
Dave Kreskowiak27-Apr-04 1:43
mveDave Kreskowiak27-Apr-04 1:43 
GeneralRe: IRDA Pin
monn27-Apr-04 5:12
monn27-Apr-04 5:12 
GeneralRe: IRDA Pin
Dave Kreskowiak27-Apr-04 7:35
mveDave Kreskowiak27-Apr-04 7:35 
GeneralRe: IRDA Pin
monn27-Apr-04 14:34
monn27-Apr-04 14:34 
GeneralRe: IRDA Pin
Dave Kreskowiak27-Apr-04 16:48
mveDave Kreskowiak27-Apr-04 16:48 

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.