Solved

System Info

Posted on 2004-09-14
4
159 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 50 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now