Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting Multiple Select Element Options On The Fly In HTA using VBS

Status
Not open for further replies.

cippall

IS-IT--Management
Feb 3, 2009
5
AU
I'm looking for a vbs solution to enhance a select multiple element that reads the options from a computers.txt file with radio buttons or buttons that do various selections:

- select all
- select none
- select workstations
- select laptops
- select server
- select workstations+laptops

With that in mind I had to use a text file from which the computers are being read to something like this(IP/COMPUTER NAME/MAC ADDRESS/ROLE):

IP - value of select options
PC NAME - text of select options
MAC ADDRESS - for usage by subroutine
ROLE - to be used for selection


192.168.0.1,PC01,00-18-F4-6C-10-BB,server
192.168.0.2,PC02,00-18-F2-6C-10-BC,laptop
192.168.0.3,PC03,00-18-F5-6C-10-BD,workstation
192.168.0.4,PC04,00-18-F1-6C-10-BE,workstation
192.168.0.5,PC05,00-18-F1-6C-10-BF,laptop
192.168.0.6,PC06,00-18-F1-6C-10-BG,workstation

What would be the best approach to achieve these types of selections?
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top