Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

System Info

Posted on 2004-09-14
4
Medium Priority
?
172 Views
Last Modified: 2010-05-02
Hi Experts,

I need an executable file in VB which will gather the following system info from the desktop.

Manufacturer,Model,Computer Name, CPU type,MHZ,RAM,IP Addr,MAC Addr,OS,Disk space(letter,type,File system,disk space,free space)

Thanks.
0
Comment
Question by:mrong
  • 3
4 Comments
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12054594
http://www.ilook.fsnet.co.uk/vb/vbsys1.htm - memory info and CPU type
0
 
LVL 8

Accepted Solution

by:
mladenovicz earned 200 total points
ID: 12054613
computer name

'example by Donavon Kuhn (Donavon.Kuhn@Nextel.com)
Private Const MAX_COMPUTERNAME_LENGTH As Long = 31
Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Private Sub Form_Load()
    Dim dwLen As Long
    Dim strString As String
    'Create a buffer
    dwLen = MAX_COMPUTERNAME_LENGTH + 1
    strString = String(dwLen, "X")
    'Get the computer name
    GetComputerName strString, dwLen
    'get only the actual data
    strString = Left(strString, dwLen)
    'Show the computer name
    MsgBox strString
End Sub
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12054753
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12054842
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question