programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
   Main Menu
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

   Amazon
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

   Links
programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others

programmershelp source code examples for asp, php, perl, delphi, c, c++, visual basic, java and others
Code examples are sponsored by Webmastersearn : make money with your website

 

processor information in an excel table

processor information in an excel table

Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
objExcel.Workbooks.Add

x = 1
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objApps = objWMIService.ExecQuery("Select * from Win32_Processor")

objExcel.Cells(1, 1) = "Family"
objExcel.Cells(2, 1) = "Architecture"
objExcel.Cells(3, 1) = "Description"
objExcel.Cells(4, 1) = "Data Width"
objExcel.Cells(5, 1) = "Processor Type"
objExcel.Cells(6, 1) = "ExtClock"
objExcel.Cells(7, 1) = "Clock speed"
objExcel.Cells(8, 1) = "Voltage"

For Each objService in objApps
x = x + 1
objExcel.Cells(1, x) = objService.Family
objExcel.Cells(2, x) = objService.Architecture
objExcel.Cells(3, x) = objService.Description
objExcel.Cells(4, x) = objService.DataWidth
objExcel.Cells(5, x) = objService.ProcessorType
objExcel.Cells(6, x) = objService.ExtClock
objExcel.Cells(7, x) = objService.CurrentClockSpeed
objExcel.Cells(8, x) = objService.CurrentVoltage
Next



Clickbank mall, make money
sell software, make money
Hosted magazine site : make money with no website



 


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
display how many seconds windows has been running(VB)
disable CTRL + ALT + DEL(VB)
str_replace example(php)
pop up only once(Javascript)
OS version(C++)
Create a directory(VBNet)
background effect(Javascript)
clear recent documents list(Visual Basic)




Copyright © 2004 by programmershelp.co.uk