Click here to Skip to main content
15,902,784 members
Home / Discussions / C#
   

C#

 
GeneralRe: treeview and tooltip Pin
Saamir6-Jun-07 4:54
Saamir6-Jun-07 4:54 
GeneralRe: treeview and tooltip Pin
Giorgi Dalakishvili6-Jun-07 5:09
mentorGiorgi Dalakishvili6-Jun-07 5:09 
QuestionConnection with Oracle9i Pin
sarwarmdgolam6-Jun-07 4:16
sarwarmdgolam6-Jun-07 4:16 
AnswerRe: Connection with Oracle9i Pin
Tarakeshwar Reddy6-Jun-07 5:17
professionalTarakeshwar Reddy6-Jun-07 5:17 
QuestionUsing enumerated types Pin
Dewald6-Jun-07 3:56
Dewald6-Jun-07 3:56 
AnswerRe: Using enumerated types Pin
DavidNohejl6-Jun-07 4:05
DavidNohejl6-Jun-07 4:05 
GeneralRe: Using enumerated types Pin
Dewald6-Jun-07 4:57
Dewald6-Jun-07 4:57 
AnswerRe: Using enumerated types Pin
Guffa6-Jun-07 4:10
Guffa6-Jun-07 4:10 
Dewald wrote:
I don't want to change the return type of the functions from int to Defines.ERR


This is your problem. As long as you want to use an int value, the coding will be somewhat painful.

If you want to avoid writing (int) here and there, you can create constants instead of using an enum. That would work pretty much as using #define in C++.

---
single minded; short sighted; long gone;

GeneralRe: Using enumerated types Pin
Dewald6-Jun-07 4:49
Dewald6-Jun-07 4:49 
GeneralRe: Using enumerated types Pin
Dave Kreskowiak6-Jun-07 5:06
mveDave Kreskowiak6-Jun-07 5:06 
GeneralRe: Using enumerated types Pin
Guffa6-Jun-07 9:05
Guffa6-Jun-07 9:05 
GeneralRe: Using enumerated types Pin
Dewald6-Jun-07 20:50
Dewald6-Jun-07 20:50 
GeneralRe: Using enumerated types Pin
Guffa6-Jun-07 8:59
Guffa6-Jun-07 8:59 
GeneralRe: Using enumerated types Pin
DavidNohejl6-Jun-07 21:23
DavidNohejl6-Jun-07 21:23 
Questionsending SMS Pin
faldupuja6-Jun-07 3:42
faldupuja6-Jun-07 3:42 
AnswerRe: sending SMS Pin
Dave Herren6-Jun-07 6:36
Dave Herren6-Jun-07 6:36 
QuestionFavourite Icon Pin
vibhas19826-Jun-07 2:49
vibhas19826-Jun-07 2:49 
AnswerRe: Favourite Icon Pin
I Believe In GOD6-Jun-07 2:57
I Believe In GOD6-Jun-07 2:57 
AnswerRe: Favourite Icon Pin
I Believe In GOD6-Jun-07 3:01
I Believe In GOD6-Jun-07 3:01 
AnswerRe: Favourite Icon Pin
Guffa6-Jun-07 3:59
Guffa6-Jun-07 3:59 
Questionupdating data Pin
sneha016-Jun-07 2:19
sneha016-Jun-07 2:19 
AnswerRe: updating data Pin
I Believe In GOD6-Jun-07 2:48
I Believe In GOD6-Jun-07 2:48 
AnswerRe: updating data Pin
ganti.r7-Jun-07 0:21
ganti.r7-Jun-07 0:21 
QuestionStart process Pin
gapfulgence6-Jun-07 2:18
gapfulgence6-Jun-07 2:18 
AnswerRe: Start process Pin
I Believe In GOD6-Jun-07 2:40
I Believe In GOD6-Jun-07 2:40 

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.