Hi,
Does PrimalScript have the ability to "debug" HTA applications - like it can with VBScript?
Thanks,
Ward
Debug HTA Applications
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Debug HTA Applications
Nope, sorry, not at this point.
Alex
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Debug HTA Applications
The best way to develop an HTA app and reduce your debug time, is to first write and test all your vbscript functions as stand alone functions or subroutines. Anything that uses, WMI test with WBEMTest then write the VBScript code. Once you have all known good VBScript, all that is left is plugging them into the HTA. At that point, all you should need to troubleshoot is the HTA and HTML code which I think is pretty easy. You can either see what works or doesn't and if there is script related error, any error message typically gets you on the right track. Comment out all instances of On Error Resume Next until the HTA is working as you want, then turn them back on. Finally, there is a dedicated forum on HTAs at ScriptingAnswers.com you can use if you get stuck or need some guidance.