Hacker News new | ask | show | jobs
by open-source-ux 1571 days ago
"What are some modern, free alternatives to Visual Basic that would allow me to easily create a GUI and attach scripts and events to its controls?"

There isn't anything really. It's pretty amazing that in 2022 there isn't anything for creating Windows GUI desktop apps that matches your description: easily create a GUI and attach scripts and events to its controls?

Another poster (wdurden) mentioned Delphi - a cross-platform tool with a drag-and-drop GUI builder. However, the free "community edition" of Delphi comes which restrictions. Read the restrictions here:

https://www.embarcadero.com/products/delphi/starter/free-dow...

The open source version of Delphi is called Lazurus (built with FreePascal). It also features a GUI builder but the documentation is uneven and scattered. If you get stuck, the forums are the main source of getting help.

https://www.lazarus-ide.org/

2 comments

>It's pretty amazing that in 2022 there isn't anything for creating Windows GUI desktop apps that matches your description: easily create a GUI and attach scripts and events to its controls?

Windows Forms is still there, has been for 20+ years. It's easy to use, fast to put a complex app together, and intuitive. Here's a reasonably complex app I built with WinForms a few years ago:

https://www.smart-edit.com/Writer/Details/Gallery/

> There isn't anything really.

Umm... Visual Basic.NET via Visual Studio Community Edition, which is free.

Just like VB of old, you can drag controls onto a blank form, double click the control, and type some attached code in. Other than the language being massively improved, it's the same process as old Visual Basic was.