Click here to Skip to main content
15,889,595 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Win 98 vs Win XP Pin
Steven Campbell17-Sep-04 7:53
Steven Campbell17-Sep-04 7:53 
GeneralRe: Win 98 vs Win XP Pin
tuningd17-Sep-04 15:39
tuningd17-Sep-04 15:39 
GeneralRe: Win 98 vs Win XP Pin
User-129471925-Sep-04 11:31
User-129471925-Sep-04 11:31 
GeneralRe: Win 98 vs Win XP Pin
tuningd27-Sep-04 2:16
tuningd27-Sep-04 2:16 
Generaldatagrid - how to add total fields Pin
sribusam16-Sep-04 15:28
sribusam16-Sep-04 15:28 
GeneralRe: datagrid - how to add total fields Pin
Anonymous16-Sep-04 19:13
Anonymous16-Sep-04 19:13 
GeneralRe: datagrid - how to add total fields Pin
sribusam19-Sep-04 13:38
sribusam19-Sep-04 13:38 
Questionvery simple Enumerators, help please? Pin
Nadroj16-Sep-04 15:23
Nadroj16-Sep-04 15:23 
summers over school is in, yet again.
heh, well, for the past 5 months or so on my school vacation, i hadnt used VB.net. now im lost again :S

first off: im not asking you to do my homework, im asking for help..

my project is as follows: two text boxes, and one button. i need to write a program to find the difference (number of days) between 2 entered days (ex, day1 = monday, day2= friday, difference = 4 days.

i have an enum like this:
Private Enum DaysOfWeek
    Monday = 1
    Tuesday
    Wednesday
    Thursday
    Friday
    Saturday
    Sunday
End Enum

i also have 2 variables that i made of the enum type (startDay and endDay). i set startDay and endDay's value = their respective textboxes.text, which the user enters a day of week. i get cast from string to integer error (i know, because enums must only be integer values, right?)

so how can i do this? (sorry if being broad, again, im not asking you to do my homework for me, im asking for help.)

thank you

------------------------
Jordan.
III
AnswerRe: very simple Enumerators, help please? Pin
Syed Abdul Khader16-Sep-04 18:41
Syed Abdul Khader16-Sep-04 18:41 
GeneralRe: very simple Enumerators, help please? Pin
Nadroj16-Sep-04 18:45
Nadroj16-Sep-04 18:45 
Generalpaper size collection method Pin
V_A_S_S16-Sep-04 13:10
V_A_S_S16-Sep-04 13:10 
GeneralRe: paper size collection method Pin
Anonymous16-Sep-04 14:08
Anonymous16-Sep-04 14:08 
GeneralRe: paper size collection method Pin
V_A_S_S16-Sep-04 15:13
V_A_S_S16-Sep-04 15:13 
GeneralRe: paper size collection method Pin
Dave Kreskowiak16-Sep-04 17:07
mveDave Kreskowiak16-Sep-04 17:07 
GeneralRe: paper size collection method Pin
V_A_S_S16-Sep-04 19:57
V_A_S_S16-Sep-04 19:57 
GeneralDataGrid in .Net Pin
Britnt716-Sep-04 8:01
Britnt716-Sep-04 8:01 
GeneralRe: DataGrid in .Net Pin
Anonymous16-Sep-04 8:46
Anonymous16-Sep-04 8:46 
GeneralRe: DataGrid in .Net Pin
Britnt716-Sep-04 9:27
Britnt716-Sep-04 9:27 
GeneralRe: DataGrid in .Net Pin
Anonymous16-Sep-04 9:41
Anonymous16-Sep-04 9:41 
GeneralRe: DataGrid in .Net Pin
Purple Monk17-Sep-04 5:48
Purple Monk17-Sep-04 5:48 
GeneralChanging Colors on InputBox's Pin
ProgBeaker16-Sep-04 7:02
ProgBeaker16-Sep-04 7:02 
GeneralRe: Changing Colors on InputBox's Pin
tricknigjew16-Sep-04 11:47
tricknigjew16-Sep-04 11:47 
GeneralRaiseEvent Connected not working Pin
Anonymous16-Sep-04 6:39
Anonymous16-Sep-04 6:39 
GeneralProblem in User Control after installing Framework 1.1 sp1 Pin
GanesanM16-Sep-04 4:20
GanesanM16-Sep-04 4:20 
GeneralRe: Problem in User Control after installing Framework 1.1 sp1 Pin
Dave Kreskowiak16-Sep-04 4:38
mveDave Kreskowiak16-Sep-04 4:38 

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.