Click here to Skip to main content
14,605,622 members
   

C#

 
GeneralRe: Windows Service and Threading Pin
Saamir9-Jun-09 10:52
MemberSaamir9-Jun-09 10:52 
GeneralRe: Windows Service and Threading Pin
Abhijit Jana9-Jun-09 11:05
professionalAbhijit Jana9-Jun-09 11:05 
GeneralRe: Windows Service and Threading Pin
Saamir9-Jun-09 11:17
MemberSaamir9-Jun-09 11:17 
JokeRe: Windows Service and Threading Pin
Abhijit Jana9-Jun-09 11:23
professionalAbhijit Jana9-Jun-09 11:23 
QuestionIs it at all possible to get the REAL amount of memory installed on the computer? Pin
taralex9-Jun-09 5:39
Membertaralex9-Jun-09 5:39 
AnswerRe: Is it at all possible to get the REAL amount of memory installed on the computer? Pin
Dave Kreskowiak9-Jun-09 7:05
mveDave Kreskowiak9-Jun-09 7:05 
GeneralRe: Is it at all possible to get the REAL amount of memory installed on the computer? Pin
Luc Pattyn9-Jun-09 7:24
sitebuilderLuc Pattyn9-Jun-09 7:24 
GeneralRe: Is it at all possible to get the REAL amount of memory installed on the computer? [modified] Pin
taralex9-Jun-09 7:38
Membertaralex9-Jun-09 7:38 
thank you very much! works perfectly for me!

Just in case someone needs it, here's code:
using System;
using System.Management;
using System.Management.Instrumentation;
using System.Windows.Forms;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            ManagementObjectSearcher searcher =
               new ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMemory");
            int banknumber = 1;
            foreach (ManagementObject bank in searcher.Get())
            {
                MessageBox.Show("Bank " + banknumber.ToString() + " size = " + bank["Capacity"].ToString());
                banknumber++;
            }  
        }
    }
}


modified on Tuesday, June 9, 2009 2:07 PM

QuestionTaking screenshots from games Pin
SimpleData9-Jun-09 4:13
MemberSimpleData9-Jun-09 4:13 
GeneralRe: Taking screenshots from games Pin
harold aptroot9-Jun-09 5:30
Memberharold aptroot9-Jun-09 5:30 
AnswerRe: Taking screenshots from games Pin
Baeltazor9-Jun-09 6:14
MemberBaeltazor9-Jun-09 6:14 
GeneralRe: Taking screenshots from games Pin
Anthony Mushrow9-Jun-09 13:54
professionalAnthony Mushrow9-Jun-09 13:54 
QuestionHow I can filter out Child Entities Pin
Qasim19849-Jun-09 3:21
professionalQasim19849-Jun-09 3:21 
QuestionHow to copy the selected tree node along with its children and paste the same Pin
Rafone9-Jun-09 3:20
MemberRafone9-Jun-09 3:20 
AnswerRe: How to copy the selected tree node along with its children and paste the same Pin
Mycroft Holmes9-Jun-09 4:21
professionalMycroft Holmes9-Jun-09 4:21 
GeneralRe: How to copy the selected tree node along with its children and paste the same Pin
Rafone9-Jun-09 7:53
MemberRafone9-Jun-09 7:53 
GeneralRe: How to copy the selected tree node along with its children and paste the same Pin
Mycroft Holmes9-Jun-09 14:19
professionalMycroft Holmes9-Jun-09 14:19 
GeneralRe: How to copy the selected tree node along with its children and paste the same Pin
Rafone9-Jun-09 16:28
MemberRafone9-Jun-09 16:28 
QuestionSQL Connection problem Pin
KIDYA9-Jun-09 2:57
MemberKIDYA9-Jun-09 2:57 
AnswerRe: SQL Connection problem Pin
Colin Angus Mackay9-Jun-09 3:02
MemberColin Angus Mackay9-Jun-09 3:02 
GeneralRe: SQL Connection problem Pin
KIDYA9-Jun-09 3:04
MemberKIDYA9-Jun-09 3:04 
GeneralRe: SQL Connection problem Pin
Colin Angus Mackay9-Jun-09 3:06
MemberColin Angus Mackay9-Jun-09 3:06 
GeneralRe: SQL Connection problem Pin
KIDYA9-Jun-09 3:09
MemberKIDYA9-Jun-09 3:09 
GeneralRe: SQL Connection problem Pin
Eddy Vluggen9-Jun-09 3:11
professionalEddy Vluggen9-Jun-09 3:11 
JokeRe: SQL Connection problem Pin
Luc Pattyn9-Jun-09 3:24
sitebuilderLuc Pattyn9-Jun-09 3:24 

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.