Click here to Skip to main content
16,007,472 members
Home / Discussions / C#
   

C#

 
GeneralLabel Multiline.. Pin
ptr2void27-Feb-08 18:38
ptr2void27-Feb-08 18:38 
GeneralRe: Label Multiline.. Pin
Xmen Real 27-Feb-08 18:46
professional Xmen Real 27-Feb-08 18:46 
GeneralRe: Label Multiline.. Pin
Arjun Marwaha27-Feb-08 18:53
Arjun Marwaha27-Feb-08 18:53 
GeneralRe: Label Multiline.. Pin
SeeSharp28-Feb-08 19:47
SeeSharp28-Feb-08 19:47 
GeneralSave and Retrieve DataSet information Pin
rdahlin27-Feb-08 18:25
rdahlin27-Feb-08 18:25 
GeneralRe: Save and Retrieve DataSet information Pin
Christian Graus27-Feb-08 19:44
protectorChristian Graus27-Feb-08 19:44 
GeneralRe: Save and Retrieve DataSet information Pin
Soumini Ramakrishnan28-Feb-08 19:54
Soumini Ramakrishnan28-Feb-08 19:54 
QuestionHow to determine if system is x86 or x64? Pin
Winkles27-Feb-08 18:18
Winkles27-Feb-08 18:18 
Hi,

I'm looking for a way for my C# app to determine at runtime whether it is running on a 32 bit or a 64 bit system, but haven't found anything so far. Does anyone know?

The reason I'm looking for this is that my app is very memory intensive and will use as much memory as it can. I've figured out how to check how much memory the system has, but on a 32 bit system an app can't go over the 2 gig per-process limit. Therefore, after determining the total physical memory, I would like my app to notice if it's on a 32 bit system and therefore know that it must limit how much memory it uses, even if a large amount of memory is reported. On a 64 bit system it will know it can use as much as it wants.

Thanks in advance for any help!
AnswerRe: How to determine if system is x86 or x64? Pin
Not Active27-Feb-08 19:18
mentorNot Active27-Feb-08 19:18 
GeneralRe: How to determine if system is x86 or x64? Pin
Winkles28-Feb-08 10:48
Winkles28-Feb-08 10:48 
AnswerRe: How to determine if system is x86 or x64? Pin
Arjun Marwaha27-Feb-08 19:52
Arjun Marwaha27-Feb-08 19:52 
GeneralRe: How to determine if system is x86 or x64? Pin
Winkles28-Feb-08 10:50
Winkles28-Feb-08 10:50 
AnswerRe: How to determine if system is x86 or x64? Pin
Ravi Bhavnani28-Feb-08 19:15
professionalRavi Bhavnani28-Feb-08 19:15 
GeneralRe: How to determine if system is x86 or x64? Pin
Winkles28-Feb-08 19:48
Winkles28-Feb-08 19:48 
Questionhow to create folder using .net c# Pin
sugunavathysubramanian27-Feb-08 18:01
sugunavathysubramanian27-Feb-08 18:01 
AnswerRe: how to create folder using .net c# Pin
Christian Graus27-Feb-08 18:03
protectorChristian Graus27-Feb-08 18:03 
AnswerRe: how to create folder using .net c# Pin
sathish s27-Feb-08 22:44
sathish s27-Feb-08 22:44 
QuestionRichTextBox control Undo Pin
nilam247727-Feb-08 17:54
nilam247727-Feb-08 17:54 
GeneralControl key Enter on datagrid Pin
dungbt27-Feb-08 17:52
dungbt27-Feb-08 17:52 
GeneralRe: Control key Enter on datagrid Pin
Christian Graus27-Feb-08 18:02
protectorChristian Graus27-Feb-08 18:02 
GeneralRe: Control key Enter on datagrid Pin
dungbt27-Feb-08 19:41
dungbt27-Feb-08 19:41 
GeneralRe: Control key Enter on datagrid Pin
Christian Graus27-Feb-08 19:46
protectorChristian Graus27-Feb-08 19:46 
GeneralRe: Control key Enter on datagrid Pin
dungbt27-Feb-08 20:05
dungbt27-Feb-08 20:05 
GeneralRe: Control key Enter on datagrid Pin
Christian Graus27-Feb-08 20:11
protectorChristian Graus27-Feb-08 20:11 
GeneralWorking on two C-Sharp projects. Pin
CodingLover27-Feb-08 17:46
CodingLover27-Feb-08 17:46 

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.