News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Highly recommended error handling solution for Visio VBA developers!

Started by Visisthebest, January 08, 2022, 10:49:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

Error handling is one of the weak points of VBA in Visio. People do not realize they might be missing quite a few errors (Visio VBA often doesn't even show you errors that occur because it expects YOU to handle them, and such silent errors can/will cause other issues down the line).

vbWatchDog is an error handling solution that can be used as a global error handler in VBA, although the solution is offered on a Microsoft Access-focused website it works in all Microsoft Office desktop applications (Visio/Word/Excel/Powerpoint).

I am using vbWatchDog in Visio for more than a year now and it has saved me a ton of error handling code, by global error handling almost everything, and I have caught quite a few exceptions that would have gone unnoticed otherwise.

If you are interested check out this link and install the evaluation version:
https://www.everythingaccess.com/vbwatchdog.asp

(this is not a paid promotion, I am not an affiliate of the product maker, I love using the vbWatchDog software AND I believe their TwinBasic solution that is under development is the future of VBA and Visio COM add-ins!)
Visio 2021 Professional

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 132 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1062KB.
Tokens: post-login.
Cache hits: 12: 0.00129s for 26,766 bytes (show)
Cache misses: 1: (show)
Queries used: 15.

[Show Queries]