Making a computer spec program but im stuck

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts Page 1 of 1
Contributors
User avatar
Laz0r
VIP - Donator
VIP - Donator
Posts: 9
Joined: Fri Dec 03, 2010 6:24 pm

hey im using My.Computer.Info. command for getting computer info in my app.

but i dont know how to show the grapich card and motherboard etc.

could someone give me code?
User avatar
Snyper345
VIP - Donator
VIP - Donator
Posts: 471
Joined: Mon Nov 01, 2010 1:53 am

http://www.vbforums.com/showthread.php?t=508069

see if any of that helps,
i made a console application which shows your specs but not your motherboard or graphics card
Image
Image
User avatar
Laz0r
VIP - Donator
VIP - Donator
Posts: 9
Joined: Fri Dec 03, 2010 6:24 pm

i need to make something like this: http://www.piriform.com/media/11742/speccy1.png
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Get graphic card name:
Code: Select all
Imports System.Management
Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, _
                            ByVal e As System.EventArgs) Handles Button1.Click
        MsgBox(GetGraphicsCardName())
    End Sub
    Private Function GetGraphicsCardName() As String
        Dim GraphicsCardName = String.Empty
        Try
            Dim WmiSelect As New ManagementObjectSearcher _
            ("root\CIMV2", "SELECT * FROM Win32_VideoController")
            For Each WmiResults As ManagementObject In WmiSelect.Get()
                GraphicsCardName = WmiResults.GetPropertyValue("Name").ToString
                If (Not String.IsNullOrEmpty(GraphicsCardName)) Then
                    Exit For
                End If
            Next
        Catch err As ManagementException
            MessageBox.Show(err.Message)
        End Try
        Return GraphicsCardName
    End Function
End Class
I got it from some website.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
Laz0r
VIP - Donator
VIP - Donator
Posts: 9
Joined: Fri Dec 03, 2010 6:24 pm

dident work, got errors
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Can you tell me what the error's are?
Top-notch casual Dating
6 posts Page 1 of 1
Return to “Coding Help & Support”