Anybody know how to show physical ram memory in label1.caption using vb6
please tell me a simple source code

Recommended Answers

All 2 Replies

Anybody know how to show physical ram memory in label1.caption using vb6
please tell me a simple source code

Do you want to possibly view the total of your RAM displaying in a label? I don't know if that may even possible but you can however just open taskmanager thru shelling upon clicking the command button

Such as an example with this:

Private Sub command1_click()
Dim q As Variant

q = Shell("C:\WINDOWS\system32\taskmgr.exe", vbMaximizedFocus)

End sub

Then click the performance tab and it will show the total physical memory of your computer. Hope it helps. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.