I am trying to make a simple HTA to run queries on Active Directory and then the output would be selectable options. The part I am unable to figure out is how to make the selections portion.
Sub User
set objExec = objshell.Exec(dsquery user -name "UserName")
set objStdOut = objExec.StdOut
strLine = objStdOut.ReadAll
Results.value = StrLine
End Sub
This code will output to a textarea.
<textarea name="Results">
Which I would then like to be selectable options. So if for example I have multiple users with the name 'Smith' then I can select the one I want and run another query with that information.
If there is a better solution than a textarea I am open to sugestions. I just dont want it to be a dropdown or radio button.
any help is appreciated