Hi guys, i wonder how can i display the ram's serial#, manufacturer, capacity and etc.... Like in a 3rd party software CPU-z.

Dim searchInfo_Memory As New System.Management.ManagementObjectSearcher("Select * from Win32_PhysicalMemory")
            For Each i In searchInfo_Memory.Get()
                txtManufacturer.Text = i("Manufacturer")
            Next

Above is the code i used to view the manufacturer but it doesn't display any manufacturer name. How can i resolve this problem? Thank you so much guys! More Power!

That depends on the manufacturer of the memory.

Try the Wbemtest.exe and verify the query results. (see here for a guide by example)

Hope this 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.