Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralRe: ho wto get ADO info Pin
Heath Stewart18-Dec-03 2:54
protectorHeath Stewart18-Dec-03 2:54 
Generalsamury Pin
samury16-Dec-03 17:04
susssamury16-Dec-03 17:04 
GeneralRe: samury Pin
gokselm16-Dec-03 23:19
gokselm16-Dec-03 23:19 
GeneralRe: samury Pin
Heath Stewart17-Dec-03 3:44
protectorHeath Stewart17-Dec-03 3:44 
GeneralRe: samury Pin
Anonymous17-Dec-03 15:58
Anonymous17-Dec-03 15:58 
Questiongetting enum integer ? Pin
azusakt16-Dec-03 15:38
azusakt16-Dec-03 15:38 
AnswerRe: getting enum integer ? Pin
Nick Parker16-Dec-03 16:49
protectorNick Parker16-Dec-03 16:49 
AnswerRe: getting enum integer ? Pin
Member 26118817-Dec-03 0:19
Member 26118817-Dec-03 0:19 
Try this:
public enum OutputType : int
{
    None = 0,
    TIFF = 1,
    JPEG = 2,
    BMP = 3
}
[...]
int num = (int)OutputType.JPEG;

You can also use uint, long, char, ulong, byte, ubyte, decimal, double, float, and maybe even string. But I suggest int, since it doesn't put such a heavy load on the processor.

- Daniël Pelsmaeker

One fool can ask more questions than all the wise men can answer.
GeneralRe: getting enum integer ? Pin
Heath Stewart17-Dec-03 3:39
protectorHeath Stewart17-Dec-03 3:39 
GeneralSaving windows forms created at runtime Pin
kvimal16-Dec-03 12:49
kvimal16-Dec-03 12:49 
GeneralRe: Saving windows forms created at runtime Pin
Colin Angus Mackay16-Dec-03 13:01
Colin Angus Mackay16-Dec-03 13:01 
GeneralRe: Saving windows forms created at runtime Pin
Nigel Savidge17-Dec-03 4:30
Nigel Savidge17-Dec-03 4:30 
GeneralThreads and Controls Pin
Guinness4Strength16-Dec-03 11:59
Guinness4Strength16-Dec-03 11:59 
GeneralRe: Threads and Controls Pin
Mike Ellison16-Dec-03 14:15
Mike Ellison16-Dec-03 14:15 
GeneralRe: Threads and Controls Pin
Heath Stewart17-Dec-03 3:35
protectorHeath Stewart17-Dec-03 3:35 
GeneralMdi problemo Pin
datainjector16-Dec-03 10:09
datainjector16-Dec-03 10:09 
GeneralRe: Mdi problemo Pin
Heath Stewart17-Dec-03 3:29
protectorHeath Stewart17-Dec-03 3:29 
GeneralRe: Mdi problemo Pin
Heath Stewart17-Dec-03 3:32
protectorHeath Stewart17-Dec-03 3:32 
GeneralRe: Mdi problemo Pin
datainjector17-Dec-03 10:15
datainjector17-Dec-03 10:15 
GeneralRemote Debugging Pin
mikemilano16-Dec-03 9:13
mikemilano16-Dec-03 9:13 
GeneralRe: Remote Debugging Pin
Heath Stewart17-Dec-03 3:23
protectorHeath Stewart17-Dec-03 3:23 
Generalcontext menu with drag/drop and right click Pin
mikelb16-Dec-03 4:37
mikelb16-Dec-03 4:37 
Generalinterfaces and GUIDS Pin
Jinwah16-Dec-03 4:27
Jinwah16-Dec-03 4:27 
GeneralRe: interfaces and GUIDS Pin
Heath Stewart16-Dec-03 5:11
protectorHeath Stewart16-Dec-03 5:11 
GeneralRe: interfaces and GUIDS Pin
Jinwah16-Dec-03 5:34
Jinwah16-Dec-03 5:34 

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.