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.
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
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?
but i dont know how to show the grapich card and motherboard etc.
could someone give me code?
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
see if any of that helps,
i made a console application which shows your specs but not your motherboard or graphics card
i need to make something like this: http://www.piriform.com/media/11742/speccy1.png
Get graphic card name:
Code: Select all
I got it from some website.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
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
Can you tell me what the error's are?
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023