Search the Community

Showing results for tags 'motherboard'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Windev Desktop, Mobile, Web
    • Windev Desktop
    • Windev Mobile
    • Webdev
    • Bugs
  • Banco de Dados
    • HFSQL
    • PostgreSQL
    • MySQL, MariaDB, Outros
  • Vendendo Seu Peixe
    • Hire a Professional to solve your Demand!
    • Cursos
    • Aplicativos
  • Tips and Tricks
    • Tips and Tricks
    • Fivewin / xHb / Harbor migration to Windev

Categories

  • Files

Calendars

  • Community Calendar

Categories

  • Articles

Found 1 result

  1. Código abaixo pra saber nr de série da placa mãe. objLocator is object Automation "WbemScripting.SWbemLocator" objService is object Automation dynamic Results is object Automation dynamic WHEN EXCEPTION IN objService = objLocator>>ConnectServer(".", "root\cimv2") objService>>Security_>>ImpersonationLevel = 3 // Motherboard infos Results = objService>>ExecQuery("SELECT Manufacturer, Product, Version, SerialNumber FROM Win32_BaseBoard") FOR x = 0 _TO_ Results>>Count -1 Trace("Manufacturer : ",Results>>ItemIndex(x)>>Properties_("Manufacturer")>>Value ) Trace("Product : ",Results>>ItemIndex(x)>>Properties_("Product")>>Value ) Trace("Version : ",Results>>ItemIndex(x)>>Properties_("Version")>>Value ) Trace("SerialNumber : ",Results>>ItemIndex(x)>>Properties_("SerialNumber")>>Value ) Trace("=========================") END DO Error("Erreur execution WMI",ExceptionInfo(errInfo)) ExceptionEnable() END RETURN