?
Solved

Getting bios information: Urgent

Posted on 2003-03-20
10
Medium Priority
?
234 Views
Last Modified: 2010-04-07
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
Comment
Question by:sexy-sx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 11

Expert Comment

by:supunr
ID: 8177962
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
 

Author Comment

by:sexy-sx
ID: 8178511
i don't know c++. so vb codes will be helpful.

thanks for the bioscentral link.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 8178815
0
Technology Partners: 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!

 

Author Comment

by:sexy-sx
ID: 8178867
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
 

Author Comment

by:sexy-sx
ID: 8178953
ok... change again. it's the system serial number.

do you know how to get this info?
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 8179709
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
 

Author Comment

by:sexy-sx
ID: 8191473
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
 

Author Comment

by:sexy-sx
ID: 8200064
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
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 8200806
User resolved; points refunded and question closed.

Netminder
EE Admin
0
 

Expert Comment

by:CleanupPing
ID: 8531914
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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