adspace


write a program to display configuration of a local system
with the help of vb script.

Answer Posted / Mrinal Kaushick

Here's a simple VBScript example that displays some system information: n```vbnetnSet objWMIService = GetObject("winmgmts:.rootcimv2")nSet colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem")nFor Each objItem in colItemsn WScript.Echo "Manufacturer:", objItem.Manufacturern WScript.Echo "Model:", objItem.Modeln WScript.Echo "Total Physical Memory:", objItem.TotalPhysicalMemorynNextn```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Anyone have qtp11.0 crack?

2922


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

3021


please can you help me to get a code of flames using a visual basic 6

1900


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1939