TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
spatterson
NA
12
0
Question regarding enum type creation
Feb 23 2004 5:31 PM
I need to create an enumerated type so that I will have a consistent set of constants to use while coding my login routine for a windows form application. I have a class called loginclass. I created the enum type with in that loginclass. Also in that loginclass I have a method that performs the authentication for this windows form app. So lets say I call CheckLogin() within the loginclass and I want to return one of the enum types which is basically authenticated - 0 , notauthenticated - 1 , databaseconnectionerror - 2. Do I have to create a new instance just to get to these enums or should these enums reside in another structure? In VB6 I would put this into a public declaration of one of my Modules. Thanks in Advance
Reply
Answers (
2
)
Fuzzy string matching
creating