Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve system Information

Status
Not open for further replies.

bartus991

Instructor
Feb 11, 2009
44
NL
I would like to create some functions to call the system info of the Computer.

The following information is needed:

- OS Name
Already tried with: sOS = Environ("OS") but this returns the Windows_NT in stead of: Microsoft Windows XP SP3.

- The computer information, displayed as: Intel Pentium 4 3066MHz

- The current IP address of the computer

- available physical memory, displayed as: 509MB (79% used)

- Uptime of the computer, i.e.: 1 hours 14 minutes.




 
No haven't tried it, as this database will run on differrent computers and the mentioned programm isn't installed on them. I can only install it on my pc.

I was hoping to retrieve it from the system info in the config screen... No succes yet.
 
The mentioned program is just a tool to develop WMI queries.
Then you may execute those queries in VBA.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks, have tried it, but won't give me the wanted information. Only the computer name could be retrieved with wmi...
 
Only the computer name could be retrieved with wmi...
Really ?
Did you try the Win32_OperatingSystem WMI class ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top