fhmsolutions
asked on
Radio buttons in VBScript
I know this is an often asked question, but I can't seem to find an answer that fits my simple needs.
I'm wrtiing a VBscript which requires to get user input from a list of choices. It seems the proper way is to use an external HTA file.
But I don't know how this should look like.
So if anyone could give me a basic example of a VBScript obtaining user answers from an HTA file, it would help a lot.
Thanks
I'm wrtiing a VBscript which requires to get user input from a list of choices. It seems the proper way is to use an external HTA file.
But I don't know how this should look like.
So if anyone could give me a basic example of a VBScript obtaining user answers from an HTA file, it would help a lot.
Thanks
ASKER
Thanks, but this shows an HTA that includes VBscript. I need the opposite.
In sequence : The VBS launches the HTA
The HTA shows the buttons, then gets the answer from the user
The VBS gets the information back and goes on
In sequence : The VBS launches the HTA
The HTA shows the buttons, then gets the answer from the user
The VBS gets the information back and goes on
Thats an interesting idea, but Im not sure how to approach it. I dont think it is possible with an .hta, but it may be possible using the InternetExplorer.Applicati on object. I will play and see what I can do.
ASKER
Thanks. I know it's been done before.
I found some information about it here : http://stackoverflow.com/questions/923503/how-to-create-options-dialog-with-vbscript
But I'm not good enough with both VBScript and HTA to adapt this to my needs.
I found some information about it here : http://stackoverflow.com/questions/923503/how-to-create-options-dialog-with-vbscript
But I'm not good enough with both VBScript and HTA to adapt this to my needs.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot. That was exactly what I needed. I adapted it to my needs and it works perfectly.
http://technet.microsoft.com/en-us/library/ee692602.aspx