Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphiTech Partner

Easily Browse Your Windows Devices From Your Delphi App With Powerful Components

devicemonitorfimage-2

Sometimes Developers want to list down or identify the Devices in a Windows machine programmatically. How to enumerate among the devices and resources quickly ? Don’t know how to do. Don’t worry. MiTec’s System Information Management Suite’s component helps to do that effectively and we will learn how to retrieve devices similar to Windows device manager.

Platforms: Windows.

Installation Steps:  

You can easily install this Component Suite from GetIt Package Manager. The steps are as follows.

  1. Navigate In RAD Studio IDE->Tools->GetIt Package Manager->select Components in Categories->Components->Trail -MiTec system Information Component Suite 14.3 and click Install Button.
  2. Read the license and Click Agree All. An Information dialog saying ‘Requires a restart of RAD studio at the end of the process. Do you want to proceed? click yes and continue.
  3. It will download the plugin and installs it. Once installed Click Restart now.

How to run the Demo app: 

  • Navigate to the System Information Management Suite trails setup, Demos folder which is installed during Get It installation e.g) C:UsersDocumentsEmbarcaderoStudio21.0CatalogRepositoryMiTeC-14.3DemosDelphi13
  • Open the DeviceBrowser project in RAD studio 10.4.1 compile and Run the application.
  • This Demo App shows how to list down the known windows devices, device resources, enumerate among them and access its properties.

Components used in MSIC DeviceBrowser Demo App:

  • TMiTeC_Devices Enumerates all known devices and their properties. (It does the same as Windows Device Manager)
  • TTabsheet’s one for viewing Devices list in TTreeView and other for viewing Resources in TListView.
  • TButton to view the details, resources of the device in a new child form.

Implementation Details:

  • An instance Devices of TMiTeC_Devices Call RefreshData where list of Windows devices were added to the tree node by loop through DeviceCount property. A list of resources were added to the listview items from the GetResourceList procedure.
devices-5565399
MiTeC DeviceBrowser Demo
  • On clicking the Properties button for the selected tree node item, its properties such as Class Description, GUID, Manufacturer, Hardware ID etc were displayed in a child form.
deviceproperties-7284581
Device Properties
  • Similarly On Clicking Resources , the selected tree node TDeviceResources properties were shown.
resources-details-7713745
Resources

These simple steps is sufficient to retrieve Devices and its properties in your application. Use this MiTeC component suite and get the job done quickly.

Head over and check out the full MiTec System Information Management Suite for Access System Information for Windows in Delphi Applications


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Related posts
DelphiShowcase

Powerful Real-Time Retail Dashboard App is Powered by Delphi

DelphiRAD StudioTech Partner

How To Make An Epic Dashboard Visualization For Windows, Mobile And The Web The Easy Way

DelphiInterview

Developer Stories: Themba Sivate Talks About The ST Auto Player Lite Software

DelphiInterview

Developer Stories: Jarrod Davis Speaks Of His GameVision Toolkit Application

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES