Edit HTA file that uses VB Script to run as a website

I have an HTA file that uses VB Script to query active directory. Using Visual Studio 2008, I want to use/convert this code into an ASP page. This will allow people without rights to submit queries without touching ADUC directly.
Common-Group-and-OU-members.txt
LVL 1
JB4375Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Refael AckermannCommented:
This is not trivial work.
I'm estimating this at half a day's work of someone with ASP experience.
0
JB4375Author Commented:
Excellent... that's what I was afraid of. LOL. Were currently moving towards having a parent page with a list of links to all the script pages. Click the link and the child section of the page displays the intended script website.
Any scripts that are currently standalone need to be setup as a web page. Oh well, I guess I'll be a master at it by the time I'm done.
 
0
JB4375Author Commented:
Granted this is an advanced script, ok... maybe very advanced, if nobody wants to tackle it, (cough) Rob (cough), could someone direct me to a link that would illustrate how to take an existing simple hta file and do this? I'll muddle through the details.
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Refael AckermannCommented:
I'll try to give a few pointers:

Wrap your HTML with a tag similar to . This will allow the page to send parameters back to the server.

Change the "Window_OnLoad" sub to perform server logic. That is, perform the query according to posted form parameters and not HTML selection, and render values as instead of direct DHTML manipulation.

You need to replace all the client side events' logic to refresh the page and post the form to the server (lines starting with "vbs:").
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JB4375Author Commented:
I gather from the comments that this question was more difficult than could be handled here, or maybe I was completely off base in that this wouldn't be the way to handle this type of problem. Acknowledged and requested a link that would give me better direction to proceed. I felt that considering the comments as to this problems difficulty, that the following suggestions weren't much to go on. They may be 100% spot on, but again I don't have the knowledge to assess it. Awarded A and total points for what help I did get, no one else responded, and that I didn't want to do anything to adversely affect the Experts rating.
0
Refael AckermannCommented:
0
JB4375Author Commented:
This looks good. I'll check it out.
Thanks again!!
JB
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.