kb2tfa
New member
- Joined
- Jan 10, 2008
- Messages
- 4
- Programming Experience
- 1-3
Hi all,
I am trying to write a program that will check the RAM size and the Hard Drive Free space.
This is what I have so far.
I think this gives me the RAM, not sure. It results in 527,822,848 and the RAM
installed on the pc is 504M
MessageBox.Show(My.Computer.Info.TotalPhysicalMemory.ToString(Format("###,###,###,###,###,###")))
This is what I think is the Hard Drive but I'm not sure.
MessageBox.Show(My.Computer.FileSystem.Drives(0).AvailableFreeSpace.ToString(Format("###,###,###,###,###,###")))
I get 12,354,420,736, and the Hard Drive is 34.2G and the free space is 11.5G
Does any of this look right.
I am trying to write a program that will check the RAM size and the Hard Drive Free space.
This is what I have so far.
I think this gives me the RAM, not sure. It results in 527,822,848 and the RAM
installed on the pc is 504M
MessageBox.Show(My.Computer.Info.TotalPhysicalMemory.ToString(Format("###,###,###,###,###,###")))
This is what I think is the Hard Drive but I'm not sure.
MessageBox.Show(My.Computer.FileSystem.Drives(0).AvailableFreeSpace.ToString(Format("###,###,###,###,###,###")))
I get 12,354,420,736, and the Hard Drive is 34.2G and the free space is 11.5G
Does any of this look right.
Last edited: