I have 5 numbers that are always changing, is there an easy way to tell which is the smallest?
var1="110"
var2="154"
var3="100"
var4="160"
var5="130"
this is just an example, the #'s will always be changing, the way I'm doing it now sucks, so much code for such a simple thing, there got to be...
Really I don't want to ping, that was just an example. I want to create a, HTA with a text field to enter data, then have a action button to run the script using whatever is in the text field as a variable. The ping was just an example. I want to create an HTA page where you enter the...
does anyone know how to create a textbox and perform an action when a button is clicked? example: a computer textbox, when you click a button it will ping the computer and return an IP
There are several ways, you can use WMI
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery _
("Select * from Win32_Product Where Name = 'Personnel database'")
For...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.