Okay Ive found some code on how to display Virtual and Physical Memory but its not working
:'( any help :@
Here i show the timer will start :
Private Sub TabControlMemFreePlus_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabControlMemFreePlus.SelectedIndexChanged
If Me.TabControlMemFreePlus.SelectedIndex = 1 Then
LoadStorageToolStripMenuItem.PerformClick()
Call UpdateProcessList()
TimerInfoNumbers.Start()
Else
TimerInfoNumbers.Stop()
End If
If Me.TabControlMemFreePlus.SelectedIndex = 2 Then
Call GETUSERINFO()
TimerGetuserinfo.Start()
TimerMemProgress.Start()
Else
TimerGetuserinfo.Stop()
TimerMemProgress.Stop()
End If
End Sub
Here's the code for supposed Memory :
Dim total1 As String = My.Computer.Info.TotalPhysicalMemory
Dim avail1 As String = My.Computer.Info.AvailablePhysicalMemory
Dim total2 As String = My.Computer.Info.TotalVirtualMemory
Dim avail2 As String = My.Computer.Info.AvailableVirtualMemory
Dim final1 As String = avail1 / total1
Dim final2 As String = avail2 / total2
ProgressBarPhys.Increment(0)
ProgressBarPhys.Value = final1
ProgressBarVirtl.Increment(0)
ProgressBarVirtl.Value = final2