Live data from Hacker News

Visual Basic 6 IDE recreated in C#

github.com

91–100 of 184 posts

Re: Visual Basic 6 IDE recreated in C#

#92

Still don't understand how we went from this to modern GUI toolkits. It looks and works so intuitively.

Every version of Visual Studio since this has the same builder. I use this builder every day to build little apps for myself. It is practically 100% identical in the new version of Visual Studio 2022 that came out yesterday. In fact, it's better now because it's easier to line things up and change their properties etc, but the interface is the same. It has literally not changed in 25 years. Here, I booted VS2022 and…

That’s Windows only.

Re: Visual Basic 6 IDE recreated in C#

#94

Still don't understand how we went from this to modern GUI toolkits. It looks and works so intuitively.

Two things initially drew me to VB. Being able to draw the GUI was certainly a very cool and empowering thing. I could make software that "looked like software" by the standards of the day, with minimal effort. The other was that the alternative to VB for GUI creation was wrestling with class libraries, at a point when OOP was utterly baffling to many casual programmers like myself. Just the bare minimum "hello world…

Ditto with Motif under Unix, a Hello World was crazily verbose (even more with Xaw), while something in TCL/Tk was about two or three brief lines.

Re: Visual Basic 6 IDE recreated in C#

#95
post #33

I worked for a company that was prototyping a ground-up rewrite of their flagship product in VB, while a team of Visual C++ programmers was building the "real" version. It was basically an industry-specific CRUD application. I probably don't even need to finish this story, because you know what happened: We knocked out a fully functional application in VB while the C++ programmers struggled to replicate it with a les…

On one hand, assuming no embellishments are made: Clearly a triumph for the simplicity and effectiveness of VB. On the other hand: A pretty good illustration of why every modern app is now a webview.

No embellishments at all, and none needed; it was an ideal app for VB.

Speaking of webviews... the next place I worked decided that an entire CRM system should be a 300 MB ActiveX control that clients would download and run in IE. Why? Absolutely no reason other than it was trendy and they thought it would seem impressive to the client.

This was in the '90s, and a 300 MB plug-in was outrageous. To top it off, I and another new hire found that they were storing all kinds of state in the UI controls. The manager was agog when we told him that the entire thing had to be rewritten. It's incredible what goes on at... I was going to say small firms, but we all know there's crazy-bad code at firms of all sizes.

Today, of course, it would be suspect if such a system weren't browser-based.

Re: Visual Basic 6 IDE recreated in C#

#96

Earlier quoted context omitted.

Every version of Visual Studio since this has the same builder. I use this builder every day to build little apps for myself. It is practically 100% identical in the new version of Visual Studio 2022 that came out yesterday. In fact, it's better now because it's easier to line things up and change their properties etc, but the interface is the same. It has literally not changed in 25 years. Here, I booted VS2022 and…

That’s Windows only.

Qt has a very powerful GUI editor that also works quite well. Using QML and Python it's not hard to create a cross platform app. Distributing may be a pain though.

Then there's Gambas on Linux (though tbat requires WSL2 or Cygwin to work on Windows). Gambas does almost everything VB6 does using an obviously copued GUI and language.

Re: Visual Basic 6 IDE recreated in C#

#97
post #67
post #54

Earlier quoted context omitted.

Nothing beats a clean windows 2000 install

Gosh it was so fast. And only the drivers I needed (which was a bit of a pain but half the fun). And it was tiny on the HDD. I played so much Half-Life, Unreal Tournament, CS1.5 and more on 2000. I miss it daily.

I visit https://bellard.org/jslinux/vm.html?url=win2k.cfg&mem=192&gr... every now and then for nostalgia. It's unfortunate that virtualising win2k with decent video drivers is such a pain.

Re: Visual Basic 6 IDE recreated in C#

#98
post #89

I’m going to say this again: this UX but using Lua (or Python) instead would be a killer app.

Not enough people agreed. It seems long-abandoned now, but Boa Constructor was it for Python: https://boa-constructor.sourceforge.net/.

Lazarus (quite active) is an open source Delphi clone that I would have been all over in 1996: https://www.lazarus-ide.org/. I haven't been keen on Pascal for a long time though.

Coming from Visual Basic 6 and Delphi, I was awfully disappointed in "Visual" C++.

Re: Visual Basic 6 IDE recreated in C#

#99

Still don't understand how we went from this to modern GUI toolkits. It looks and works so intuitively.

At the same time it's common to hear "how does this not support high DPI?" or "How does this app not have a dark mode, it's 2024!" etc.

Modern toolkits just do a lot of stuff that older toolkits didn't. Some times at the expense of not being as quick to get off the ground as VB was.

The original winforms implementation in the early 2000's was pretty close to VB in terms of efficiency but its warts were numerous, e.g. the DPI used in the designer view (when writing the code) affected what happens when you run it, and so on.

Re: Visual Basic 6 IDE recreated in C#

#100

It's an awesomely inspirational vision, but within 2 minutes of trying it out I found it's lacking a lot of little features (at least on the web build)... e.g: Ampersands in button labels don't create an accelerator (e.g. &Go does not underline the G). In true VB6 you could plop down a Label control and just start typing to change it's contents. Here you have to focus on the input field first (and you can't just clic…

Actually, in Avalonia accelerator char is an underscore _, but I just pushed an update to support & as well :)

Save actually works! On Desktop tho, what is more it is format compatible with VB6! Of course since the support in general is limited, compatibility is limited as well, but I actually plan to improve it a bit.

Build also works, but only on desktop ;)

Post reply on HN