• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

Getting bios information: Urgent

Hi,

In my company i have 900+ Dell computers and Dell stores their express service tags in the bios. The service tags are unique for each dell.

Is there any code that allows me obtain this informatiom. I also want to be able to get bios dates and version.

I will be storing this information in a ListView box.
My app is nearly ready to go, but this is the only information i haven't been able to obtain.

Help is much appreciated,
Bernard

0
sexy-sx
Asked:
sexy-sx
1 Solution
 
supunrCommented:
May be following links might be helpful...

Title: How To Read BIOS Setting ?
http://www.experts-exchange.com/Programming/Q_20373547.html#1

Title: API to read BIOS datetime in Win95
http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_20437847.html#1

MSDN: Using VWIN32 to Carry Out MS-DOS Functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win9x/devio_2b1v.asp

Good Luck!
0
 
sexy-sxAuthor Commented:
i don't know c++. so vb codes will be helpful.

thanks for the bioscentral link.
0
 
AzraSoundCommented:
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
sexy-sxAuthor Commented:
sorry, i'll change the question.

by using sisoft sandra, i found out that the service tag is stored as the motherboard serial number. not in the bios.

if anyone knows the code, please post.

thanks,
berarnd

0
 
sexy-sxAuthor Commented:
ok... change again. it's the system serial number.

do you know how to get this info?
0
 
Mayank SAssociate Director - Product EngineeringCommented:
You can try putting an About Dialog in your project. It has a system-info button. See the code for the form and that button. You should be able to extract some information from it.

Mayank.
0
 
sexy-sxAuthor Commented:
that didn't have any info.

even if it did, i need to import it into the form's ListView box.

Still looking to find the motherboard serial number.

Thanks,
Bernard
0
 
sexy-sxAuthor Commented:
Found it!!!

This gets a lot of information from the bios.

Sorry it's not detailed, but it's very self-explanatory.

Thanks for all the help anyway!

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_BIOS",,48)
For Each objItem in colItems
    MsgBox "BiosCharacteristics: " & objItem.BiosCharacteristics
    MsgBox "BIOSVersion: " & objItem.BIOSVersion
    MsgBox "BuildNumber: " & objItem.BuildNumber
    MsgBox "Caption: " & objItem.Caption
    MsgBox "CodeSet: " & objItem.CodeSet
    MsgBox "CurrentLanguage: " & objItem.CurrentLanguage
    MsgBox "Description: " & objItem.Description
    MsgBox "IdentificationCode: " & objItem.IdentificationCode
    MsgBox "InstallableLanguages: " & objItem.InstallableLanguages
    MsgBox "InstallDate: " & objItem.InstallDate
    MsgBox "LanguageEdition: " & objItem.LanguageEdition
    MsgBox "ListOfLanguages: " & objItem.ListOfLanguages
    MsgBox "Manufacturer: " & objItem.Manufacturer
    MsgBox "Name: " & objItem.Name
    MsgBox "OtherTargetOS: " & objItem.OtherTargetOS
    MsgBox "PrimaryBIOS: " & objItem.PrimaryBIOS
    MsgBox "ReleaseDate: " & objItem.ReleaseDate
    MsgBox "SerialNumber: " & objItem.SerialNumber
    MsgBox "SMBIOSBIOSVersion: " & objItem.SMBIOSBIOSVersion
    MsgBox "SMBIOSMajorVersion: " & objItem.SMBIOSMajorVersion
    MsgBox "SMBIOSMinorVersion: " & objItem.SMBIOSMinorVersion
    MsgBox "SMBIOSPresent: " & objItem.SMBIOSPresent
    MsgBox "SoftwareElementID: " & objItem.SoftwareElementID
    MsgBox "SoftwareElementState: " & objItem.SoftwareElementState
    MsgBox "Status: " & objItem.Status
    MsgBox "TargetOperatingSystem: " & objItem.TargetOperatingSystem
    MsgBox "Version: " & objItem.Version
Next
0
 
NetminderCommented:
User resolved; points refunded and question closed.

Netminder
EE Admin
0
 
CleanupPingCommented:
Hi sexy-sx,
This old question (QID 20558066) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now