Click here to Skip to main content
15,918,742 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Email "To" functionality - how to do? Pin
Dave Kreskowiak24-Feb-04 5:50
mveDave Kreskowiak24-Feb-04 5:50 
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 
I have written a programme that should allow a pupil to enter his details and then the programme will display the pupil’s profile using a dialog box. I have worked the rest fine but I have difficulty in setting the leap year limits for the month of February. I have tried juggling around my code in many different ways, but seem not to get it right. I have left the code with an array of 10 leap years that I consider to fall within a pupil’s age. I definitely know that the problem is not with coding an array, it’s something else. I have said:

For Leap year 1 To Leap year 10
If the month is "February" And CInt(The “Value” of numeric-up-down representing the pupil’s year of birth) <> Leap year And [Day is ("29") Or ("30") Or ("31")] Then
ErrorMessage1
Exit Sub
End If
If the month is "February" And CInt(The “Value” of numeric-up-down representing the pupil’s year of birth) = Leap year And [Day is ("30") Or ("31")] Then
ErrorMessage2
Exit Sub
End If


However, an error exist somehow in the code, may you give me an idea of where the problem is.


Been always great to be part of this forum, especially when I know they know more than what I know…..
GeneralRe: Setting a Leap year condition Pin
Ian Darling23-Feb-04 11:27
Ian Darling23-Feb-04 11:27 
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 

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.