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

Visio VBA alternative is progressing (twinBASIC)

Started by Visisthebest, September 16, 2022, 10:00:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

A Visio VBA alternative, twinBASIC, has made a lot of progress in the past 12 months.

I think it will take another year to mature, but for Visio desktop development it has these huge benefits:

- You quickly build your solution as a Visio add-in (like the .NET VSTO add-in), and it does not use .NET interop so it is much faster for solutions that access Visio objects frequently.

- Compiled code (no interop + compiled code can make complex solutions MUCH faster!)

- A far superior error handling system (vbWatchdog), VBA error-handling was developed by the devil in my opinion. (it is sooooooooooooooooo terrible)

- I have a hunch the developers will solve windows forms high DPI scaling much better than how WinForms in .NET VSTO addin solutions work

I think in the second half of 2023 twinBASIC is going to make a lot of waves, there are both free and paid versions of twinBASIC I will need the paid one (and it is not an inexpensive subscription, but worth it for me).

See for more information:
https://twinbasic.com/
Visio 2021 Professional

Surrogate

Quote from: Visisthebest on September 16, 2022, 10:00:39 AM- You quickly build your solution as a Visio add-in (like the .NET VSTO add-in), and it does not use .NET interop so it is much faster for solutions that access Visio objects frequently.
You mean faster: write code & make solution or performance?

Yacine

Quote from: Visisthebest on September 16, 2022, 10:00:39 AM
- You quickly build your solution as a Visio add-in (like the .NET VSTO add-in), and it does not use .NET interop

Haven't seen that on their site, nor on Youtube.
Do you have any references?
Yacine

Visisthebest

#3
Both but in particular the software performance for complex solutions will be better, especially if you read from and write to a lot of Visio objects!

Writing complex solutions in twinBASIC will be faster too, as the VBA IDE is just absolutely terrible. twinBASIC's IDE will be much better, at a minimum.

Here is a guide to how to make a COM add-in for Microsoft Office desktop applications:
https://nolongerset.com/create-com-addin-with-twinbasic/

I am pretty sure COM add-in functionality will be enhanced quite a lot in the next 12 months, there are a lot of Excel developers who are looking to move to something better than VBA.
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: 213 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1069KB.
Tokens: post-login.
Cache hits: 13: 0.00144s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]