Cory Posted September 24, 2007 Report Share Posted September 24, 2007 Floyd created a beautiful demonstration of the capabilities of HTA forms for multi-field input a while ago but it was beyond my scripting abilities. I could follow it somewhat but I know if I tried it I would get it wrong. As one tends to do we often like to showcase the full muscle of something including all the bells and whistles. But my challenge to him now is to create the simplest possible HTA file to demonstrate entry of three bits of data. First name, last name, and SSN. No pretty graphics, validation or any of that. Just make it super simple so a scriptophobe like myself could understand. Should he accept the challenge I would like to make some additional requests. First don’t make a macro to generate the file dynamically and all that. Just make an HTA for the moment and post it here. Second describe the mechanism for getting the results back to ME. Also I there are various methods briefly outline them with the benefits. In the original demo I could not for the life of me figure out how the HTA returned the results. And of course I’m sure I’ll think of some more demands along the way. My goal is to write an HTA file manually myself and get the results into a variable in ME. Once I can do that I would probably be interested in learning more but first I want to understand the fundamentals of how it works. I’ll kick it off with what I understand so far. HTA is simply an HTML (web) document with a different extension in order to associate it with mshta.exe. This interprets the HTML and scripting and runs as a trusted app. OK, that’s all I know! So the gauntlet has been thrown down. But I must add one caveat… If you can teach me this I’ll probably forever pester you with questions about VBSCript! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.