Live data from Hacker News

Ask HN: Modern, easy-to-start with alternatives to Visual Basic

news.ycombinator.com

1–10 of 12 posts

Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#1
I'd like to create a GUI utility to work with ID3 tags on mp3 files. I was looking for options and found out that programming for Windows is a daunting experience.

I can recall starting programming using Visual Basic a long, long time ago. By then I found it very easy to start with because of the drag-&-drop nature of the GUI, out-of-the-box events, etc.

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?

Please excuse my dated references, I am a web developer unfamiliar with programming for the desktop

Re: Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#2
Livecode works in that fashion but it might be too costly to explore. The learning curves are always steep in just finding out if an environment can do what you need. XOJO is another option, again for whatever reason, these types of tools lost out in the last Cambrian explosion. The free-ish versions of Delphi are out there, but again, by the time one factors in the cost of just sorting out the options, a lot of water has passed under the bridge.

Here are some comments related to ID2 from a Livecode forum ...

https://forums.livecode.com/viewtopic.php?t=8816

Re: Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#5
VB.net still exists and to the developer, still works much like VB6 and earlier.

If you are comfortable with C#, you can do the same there, too.

To use either, when you create a new project, you'll want to choose the Windows Form option, which will drop you into a more-familiar rapid application development (RAD), which works as you describe.

https://docs.microsoft.com/en-us/visualstudio/ide/create-a-v...

Visual Studio Community is free for personal use: https://visualstudio.microsoft.com/vs/community/

Re: Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#6
"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/

Re: Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#7
Since you're a web developer, I wonder if something like Electron or one if its variants would be good (but maybe overkill).

I've used HTA HTML Applications[0] to make small utilities. They're also web-based but apparently only compatible with Internet Explorer and I don't know if there's a future in it, though Microsoft tends to keep old technologies around for backwards compatibility. But if you are already know how to support Internet Explorer today, it might not be much of a stretch. There might be other products similar to this.

[0] https://en.wikipedia.org/wiki/HTML_Application

Re: Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#9

" 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…

>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/

Re: Ask HN: Modern, easy-to-start with alternatives to Visual Basic

#10
You're a web dev, maybe look into electron (https://www.electronjs.org/)? It powers apps like Slack, VS Code, etc.

I'm sure like most tech choices there are those that hate it and think its a performance drag, etc. If you just want to produce something, seems like an easy pick with your skill set. That is unless part of your intent is to learn something new.

Post reply on HN