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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hardware Information

Status
Not open for further replies.

SgtPepps

IS-IT--Management
May 1, 2002
109
GB
I'd like to use VBA to return basic about a PCs Network Card (Name/Product Code), I was wondering if there is a file somewhere that holds the info i need and is in a format that i can use. A txt file would be best but I understand that some other file extensions that windows uses to store info are also plain text and could be used, such as .ini. Any help would be great.

Cheers

Mike
 
Hi SgtPepps,

this information is stored in the registry, and the windows API has some functions to retrieve these data.
You will need GetAdapterInfo and GetPerAdapterInfo with the associated structures.
But I dont know, if you can use them using VBA.

Bye
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top