Debug HTA Applications

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
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.
This topic is 17 years and 4 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
whorsfall
Posts: 13
Last visit: Mon Aug 08, 2022 5:35 pm

Debug HTA Applications

Post by whorsfall »

Hi,

Does PrimalScript have the ability to "debug" HTA applications - like it can with VBScript?

Thanks,

Ward
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Debug HTA Applications

Post by Alexander Riedel »

Nope, sorry, not at this point.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
ghl001
Posts: 7
Last visit: Tue Mar 06, 2007 6:49 am

Debug HTA Applications

Post by ghl001 »

What a pity. HTA was on my next project plan.Gerhart H.
User avatar
jhicks
Posts: 1789
Last visit: Mon Oct 19, 2015 9:21 am

Debug HTA Applications

Post by jhicks »

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.
This topic is 17 years and 4 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.