Click here to Skip to main content
15,915,501 members
Home / Discussions / C#
   

C#

 
QuestionProgrammatically getting system information using C# Pin
Cadence2.016-Jun-06 8:07
Cadence2.016-Jun-06 8:07 
AnswerRe: Programmatically getting system information using C# Pin
Josh Smith16-Jun-06 8:18
Josh Smith16-Jun-06 8:18 
GeneralRe: Programmatically getting system information using C# Pin
Cadence2.016-Jun-06 9:35
Cadence2.016-Jun-06 9:35 
QuestionComboBox Databinding Pin
Drew McGhie16-Jun-06 7:32
Drew McGhie16-Jun-06 7:32 
QuestionWord interop problem Pin
Amos_Keeto16-Jun-06 7:10
Amos_Keeto16-Jun-06 7:10 
AnswerRe: Word interop problem Pin
Dustin Metzgar16-Jun-06 7:57
Dustin Metzgar16-Jun-06 7:57 
GeneralRe: Word interop problem Pin
Amos_Keeto16-Jun-06 8:02
Amos_Keeto16-Jun-06 8:02 
GeneralRe: Word interop problem Pin
Dustin Metzgar16-Jun-06 8:11
Dustin Metzgar16-Jun-06 8:11 
Well, you can write an enum like this:
public enum MyDocFields {
   FirstField = 0,
   SecondField = 1,
   ...
}

Or you can use a Dictionary:
Dictionary<string, int> dictDocFields = new Dictionary<string, int>();
dictDocFields.Add("FirstField", 1);
...

Basically just use anything that eventually gets you back to an integer.




Logifusion[^]
GeneralRe: Word interop problem Pin
Amos_Keeto17-Jun-06 0:41
Amos_Keeto17-Jun-06 0:41 
QuestionIs there a way to consolidate this? Pin
Blubbo16-Jun-06 6:47
Blubbo16-Jun-06 6:47 
AnswerRe: Is there a way to consolidate this? Pin
Dustin Metzgar16-Jun-06 7:09
Dustin Metzgar16-Jun-06 7:09 
GeneralRe: Is there a way to consolidate this? Pin
RonBou16-Jun-06 7:19
RonBou16-Jun-06 7:19 
GeneralRe: Is there a way to consolidate this? Pin
RonBou16-Jun-06 7:33
RonBou16-Jun-06 7:33 
GeneralRe: Is there a way to consolidate this? Pin
Guffa16-Jun-06 8:41
Guffa16-Jun-06 8:41 
GeneralRe: Is there a way to consolidate this? [modified] Pin
Robert Rohde16-Jun-06 9:32
Robert Rohde16-Jun-06 9:32 
GeneralRe: Is there a way to consolidate this? [modified] Pin
Blubbo16-Jun-06 9:48
Blubbo16-Jun-06 9:48 
GeneralRe: Is there a way to consolidate this? Pin
Guffa16-Jun-06 10:07
Guffa16-Jun-06 10:07 
GeneralRe: Is there a way to consolidate this? Pin
Robert Rohde16-Jun-06 10:21
Robert Rohde16-Jun-06 10:21 
QuestionMAC Address Pin
moro14516-Jun-06 6:40
moro14516-Jun-06 6:40 
AnswerRe: MAC Address [modified] Pin
Ravi Bhavnani16-Jun-06 6:52
professionalRavi Bhavnani16-Jun-06 6:52 
GeneralRe: MAC Address Pin
moro14516-Jun-06 8:17
moro14516-Jun-06 8:17 
AnswerRe: MAC Address Pin
Ravi Bhavnani16-Jun-06 8:25
professionalRavi Bhavnani16-Jun-06 8:25 
GeneralRe: MAC Address Pin
moro14516-Jun-06 9:48
moro14516-Jun-06 9:48 
AnswerRe: MAC Address Pin
Ravi Bhavnani16-Jun-06 9:55
professionalRavi Bhavnani16-Jun-06 9:55 
GeneralRe: MAC Address Pin
moro14516-Jun-06 10:23
moro14516-Jun-06 10:23 

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.