Click here to Skip to main content
15,919,341 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to make the form moveable? Pin
younghand23-Feb-04 16:23
younghand23-Feb-04 16:23 
AnswerRe: How to make the form moveable? Pin
Dave Kreskowiak23-Feb-04 18:15
mveDave Kreskowiak23-Feb-04 18:15 
QuestionHow to use CallByName function in VB.NET Pin
bqdieu23-Feb-04 16:16
bqdieu23-Feb-04 16:16 
AnswerRe: How to use CallByName function in VB.NET Pin
Dave Kreskowiak23-Feb-04 17:59
mveDave Kreskowiak23-Feb-04 17:59 
Generalmy two simple problems Pin
bensoncd23-Feb-04 11:22
bensoncd23-Feb-04 11:22 
GeneralRe: my two simple problems Pin
Ian Darling23-Feb-04 11:30
Ian Darling23-Feb-04 11:30 
GeneralSetting a Leap year condition Pin
bensoncd23-Feb-04 11:20
bensoncd23-Feb-04 11:20 
GeneralRe: Setting a Leap year condition Pin
Ian Darling23-Feb-04 11:27
Ian Darling23-Feb-04 11:27 
You might want to learn what the rules for leap years are:

If the year is divisible by 4 then it's a leap year. However, if the year is also divisible by 100, then it is not, but it it's divisible by 400 then it is.

Hence 2000, 2004, 2400 are leap years, but 1900 and 2100 are not.

A leap year has one additional day, which is February 29th.
------------------
If you're using .NET, just use DateTime.Parse or something to see if the date entered is valid or not (as the DateTime APIs handle this stuff anyway, so you're better off using them). VB6 may have a similar API.


Ian Darling
"One of the few systems...which has had “no deaths” in the reliability requirements." - Michael Platt
GeneralFormatting numbers Pin
erikkloeze23-Feb-04 5:05
erikkloeze23-Feb-04 5:05 
GeneralRe: Formatting numbers Pin
Hesham Amin23-Feb-04 7:50
Hesham Amin23-Feb-04 7:50 
GeneralRe: Formatting numbers Pin
erikkloeze23-Feb-04 8:55
erikkloeze23-Feb-04 8:55 
GeneralRe: Formatting numbers Pin
Nadroj24-Feb-04 12:12
Nadroj24-Feb-04 12:12 
GeneralSome guidance required Pin
Asad Hussain23-Feb-04 4:16
Asad Hussain23-Feb-04 4:16 
GeneralRe: Some guidance required Pin
steff kamush23-Feb-04 4:26
steff kamush23-Feb-04 4:26 
GeneralRe: Some guidance required Pin
steff kamush23-Feb-04 4:34
steff kamush23-Feb-04 4:34 
GeneralRe: Some guidance required Pin
Asad Hussain23-Feb-04 4:46
Asad Hussain23-Feb-04 4:46 
GeneralRe: Some guidance required Pin
Ian Darling23-Feb-04 5:04
Ian Darling23-Feb-04 5:04 
GeneralRe: Some guidance required Pin
Asad Hussain23-Feb-04 7:46
Asad Hussain23-Feb-04 7:46 
GeneralInter-Application Communication Pin
NaserAbiat22-Feb-04 23:52
NaserAbiat22-Feb-04 23:52 
GeneralHelp!! About Datagrid Pin
March Tu22-Feb-04 21:15
March Tu22-Feb-04 21:15 
GeneralVB.Net Webpage Info Download Pin
Rip V. Winkle22-Feb-04 18:02
Rip V. Winkle22-Feb-04 18:02 
GeneralPrinting Please Help Pin
Pugman81222-Feb-04 16:51
Pugman81222-Feb-04 16:51 
GeneralSet Selected Item Pin
mosquitooth22-Feb-04 8:05
mosquitooth22-Feb-04 8:05 
GeneralRe: Set Selected Item Pin
Nadroj22-Feb-04 10:15
Nadroj22-Feb-04 10:15 
GeneralRe: Set Selected Item Pin
Dave Kreskowiak22-Feb-04 16:13
mveDave Kreskowiak22-Feb-04 16:13 

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.