News for hackers. Stuff that matters.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by glimshe on Wednesday October 18, 2023 @02:54PM (#37933050)
VB used to be one of the most important technologies in our field. No, it was never "good" nor "elegant". But it allowed a huge humber small and medium businesses to benefit from computers. All those DVD/VHS rental stores? VB. Line of business applications for government? VB.

Visual Basic allowed people with minimal knowledge of computers to write useful applications that powered the economy. This is something we often forget nowadays in the flood of frameworks, programming paradigms, microservices etc. Computers exist to serve humans, we must never lose the connection with how useful our systems are.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by heywire on Wednesday October 18, 2023 @03:29PM (#37933578)
Believe it or not, the legacy point of sale product I work on still uses a VB6 app for the cash office and reporting functions. A number of large grocery stores still use it in the US and abroad. I don’t work on that part of the application, but it still works just fine on Windows 11.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by rahkiin on Wednesday October 18, 2023 @04:57PM (#37934661)
Sadly development is no longer possible on Win11 and requires a Win7 VM
Re:Bill Gates demonstrates Visual Basic (1991) [video] by heywire on Wednesday October 18, 2023 @09:25PM (#37937077)
I have not tried it myself, but apparently it can be done.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by yukkuri on Wednesday October 18, 2023 @10:04PM (#37937382)
Not true, I maintain the VB6 and VC++6 parts of our system on a Win 11 machine. Search a bit and you will find instructions for installing them successfully.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by badsectoracula on Thursday October 19, 2023 @02:40AM (#37939330)
I think the installer wont work and needs some workarounds to convince it to install but the program should work.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by flashback2199 on Wednesday October 18, 2023 @11:31PM (#37938012)
Somehow VB6 was really handy, I used it for a few projects in high school and I remember searching how to do things it was usually 2x or 3x the amount of code to do the same things in the newer version so I kept using it
Re:Bill Gates demonstrates Visual Basic (1991) [video] by xnorswap on Thursday October 19, 2023 @03:15AM (#37939521)
One of my previous jobs was working on a vb6 POS system, we had to use windows XP VMs just so that we could run an old visual studio to keep developing it.

I left that company when it was clear their dreams of replacing it with a SaaS product wasn't headed in the right direction for me, but I sometimes wonder if that product is still going or whether they finally achieved their SaaS migration dream.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by heywire on Thursday October 19, 2023 @07:36AM (#37941441)
Very well could be the same company :)
Re:Bill Gates demonstrates Visual Basic (1991) [video] by antonjs on Wednesday October 18, 2023 @02:58PM (#37933095)
It also allowed a lot of young people (ie me) to learn to make legitimate looking GUI programs without a difficult barrier to entry, on whatever windows machines our schools/houses had lying around.

That and Delphi, how I miss you.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by MichaelZuo on Wednesday October 18, 2023 @03:14PM (#37933358)
How would you compare VB in the early 90s to XCode in 2023?
Re:Bill Gates demonstrates Visual Basic (1991) [video] by bdcravens on Wednesday October 18, 2023 @03:21PM (#37933452)
Not even close. VB was pure productivity.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by PH95VuimJjqBqy on Wednesday October 18, 2023 @03:33PM (#37933630)
I honestly miss VB, there was just something about it.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by CWuestefeld on Wednesday October 18, 2023 @04:43PM (#37934508)
Yup. Even for non-UI applications.

Our site at the time was Active Server Pages, with a DCOM backend. We started out writing the DCOM components in C++, but way more than half of the C++ code was in just type conversions with the variant types that COM demanded.

We got tired of that really fast, and started building the COM components with VB5/6. That was SO MUCH faster.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by rqtwteye on Wednesday October 18, 2023 @05:47PM (#37935217)
Same here. When VB4 came out I wrote a COM based plugin system with it which worked perfectly.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by stcroixx on Wednesday October 18, 2023 @03:46PM (#37933797)
VB6 was the absolute high water mark for RAD tools. Nothing has come close since and yeah, productivity and software in general has suffered for it.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by wg0 on Wednesday October 18, 2023 @04:03PM (#37934046)
Nothing comes close to VB even today. I can't recall anything like that.

The language was almost English like. The interface was so advanced for it's time. The drag and drop form designer.

XCode is nothing even Microsoft's own product line has nothing like that.

Edit: typo

Re:Bill Gates demonstrates Visual Basic (1991) [video] by MajimasEyepatch on Wednesday October 18, 2023 @04:30PM (#37934372)
The true successors to VB today are low code tools like Retool. Visually create an internal app for your business, then use a (relatively) simple language (this time JavaScript) to make it do basic CRUD stuff.

For various reasons, we kind of lost that pragmatic approach when apps moved from the desktop to the web browser, and we've only just recently started to revisit it.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by bitwize on Wednesday October 18, 2023 @04:31PM (#37934384)
Tcl/Tk has entered the chat.

Some of us don't want to spend an hour rat wrestling to get a form up -- a form that won't even tolerate resizing very well. Tcl/Tk is pretty much the fastest way to go from zero to functional GUI I've ever seen -- especially if you already have some functionality that works from the command line and just need to wrap it. It's also available from Python as Tkinterm and is amenable to repl driven development.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by badsectoracula on Thursday October 19, 2023 @02:43AM (#37939351)
I've written both Tcl/Tk code and Lazarus and i think the latter is much faster to make things: not only you have a visual WYSIAWYG[0] editor but also a very rich framework.

[0] A for Almost as technically the program can compile with different GUI backends (Win32, Gtk, Qt, etc) :-P

Re:Bill Gates demonstrates Visual Basic (1991) [video] by HideousKojima on Wednesday October 18, 2023 @04:29PM (#37934366)
Still not as accessible to non-techies as VB was, but I've been really enjoying using the Godot game engine for making simple GUI apps.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by wg0 on Thursday October 19, 2023 @01:10AM (#37938731)
I'd like to know more about that. If you've a blog or something.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by nylonstrung on Thursday October 19, 2023 @02:16AM (#37939137)
What are the reasons for using this vs a simple UI library like tkinter?
Re:Bill Gates demonstrates Visual Basic (1991) [video] by mikewarot on Wednesday October 18, 2023 @11:13PM (#37937897)
Free Pascal/Lazarus is pretty close, but the documentation needs work. It's my go to for Windows GUI development.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by winter_blue on Friday October 20, 2023 @12:17PM (#37958103)
Yea, VB was quite something. I look back at it with fond reminiscence.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by m_mueller on Wednesday October 18, 2023 @09:31PM (#37937136)
I'd actually counter this with Lotus Notes 6.5; On top of what VB offered it had a built-in locally replicated, fully encryptable and access manageable DBMS for every application you developed. Plus, it had a formula expression language that could take many tasks without needing to drop into the basic derived scripting language. To create simple CRUD apps that you could still work on in airplanes & trains it was really powerful. One of my favourite moments was when I sat in a corporate meeting with 12 or so different stakeholders for a project management software, and while they were discussing things to change, I just took the projector and implemented it live.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by badsectoracula on Thursday October 19, 2023 @02:50AM (#37939401)
I'd say Delphi/C++ Builder back then (not sure for now) and nowadays Lazarus are better than VB6 in pretty much all aspects when it comes to RAD tooling. There are many more controls (and with way more features in them) than VB6 ever had, it has much better functionality for layouts (in VB6 controls do not even have automatic resizing and alignment is limited to "picture" controls - but even that is more limited than even Delphi 1), in VB6 non-visual controls/components (e.g. timer) felt more of an afterthrought and at least in Delphi and Lazarus/Free Pascal the language itself is designed so that any object can in theory be inspected by the object inspector.

VB6 was easier to get started with and learn though, but IMO that was because it didn't provide as many features and on that front the earlier VBs (up to VB4, before the new IDE was made) were even easier.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by chaostheory on Wednesday October 18, 2023 @04:55PM (#37934641)
> Visual Basic allowed people with minimal knowledge of computers to write useful applications that powered the economy. This is something we often forget nowadays in the flood of frameworks, programming paradigms, microservices etc.

We haven’t forgotten anything. MS Power Apps is the spiritual successor for Access.

Also, it’s the likely reason that startups like AirTable went unicorn, and if you look at Salesforce and ServiceNow they look a lot like enterprise versions of MS Access. Everything mentioned is a low code platform. I’m sure if you give me time I can name more major low code companies

What you’ve forgotten in your nostalgia is the instability and insecurity related to VB and everything that relies on it. It’s probably why MS is trying to kill it for Windows 12.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by theonlybutlet on Wednesday October 18, 2023 @05:40PM (#37935148)
Yeah for databases that's great, but still there is nothing to compare to VB, looking at it's accessibility and power.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by chaostheory on Wednesday October 18, 2023 @05:44PM (#37935177)
There’s also nothing else that compares to vb as a large security threat to the windows ecosystem. There also have been plenty of replacements that have already eclipsed vb. It’s no one else’s fault that you just weren’t paying attention.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by consumer451 on Thursday October 19, 2023 @01:04AM (#37938694)
> We haven’t forgotten anything. MS Power Apps is the spiritual successor for Access.

I am pretty sure that having access to all of the events in VB6, I would be able to implement a bug-free Autocomplete Textbox. [0]

In Power Apps, it is not possible to implement this exact UI, without major bugs - in 2023.

Something was definitely forgotten along the way.

[0] https://www.w3schools.com/howto/howto_js_autocomplete.asp

Re:Bill Gates demonstrates Visual Basic (1991) [video] by mananaysiempre on Thursday October 19, 2023 @03:15AM (#37939523)
> [H]aving access to all of the events in VB6, I would be able to implement a bug-free Autocomplete Textbox.

.. That’d completely fall apart at the first hint of anything vaguely nontrivial going on with input, whether due to the user’s language, accessibility tech, or autocorrect on a touch keyboard.

I remember being a non-Latin-script user in the age of localization patches and country-specific builds, and very much appreciate today’s “(try not to ruin) i18n first” approach (among other things implied by the above), but a simple input API absolutely was a casualty of that, even if you LoB app is completely fine being ASCII-only (however dubious a statement that is).

(No experience with Power Apps, but I don’t think there is a single modern platform where that’ll be easy.)

Re:Bill Gates demonstrates Visual Basic (1991) [video] by nomel on Wednesday October 18, 2023 @05:19PM (#37934926)
> No, it was never "good" nor "elegant".

It was great for the time. I still don't see time travel debug in any of most modern IDEs.

Re:Bill Gates demonstrates Visual Basic (1991) [video] by discussDev on Wednesday October 18, 2023 @06:05PM (#37935399)
Amen, all the structures in the world are useless if it's not producing something useful.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by signaru on Wednesday October 18, 2023 @06:12PM (#37935481)
Not just useful, but also user friendly. Not all computer users were savvy enough for command line apps or bare bones script source.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by jotato on Thursday October 19, 2023 @12:35AM (#37938468)
You can use the Godot engine to build apps. It has a very similar drag/drop UI. Double click for events, and gdscript is very easy to pickup. Reminds me of VB everytime I use it
Re:Bill Gates demonstrates Visual Basic (1991) [video] by chrisco255 on Thursday October 19, 2023 @12:38AM (#37938501)
Interesting, I've only ever heard it used as a game engine.
Re:Bill Gates demonstrates Visual Basic (1991) [video] by jotato on Thursday October 19, 2023 @12:53AM (#37938617)
You totally can! I have a couple of apps that were made using it. There might even be a showcase on their site
Re:Bill Gates demonstrates Visual Basic (1991) [video] by worik on Thursday October 19, 2023 @01:57AM (#37939029)
> VB used to be one of the most important technologies in our field. No, it was never "good" nor "elegant".

Node.js for a modern take?

Re:Bill Gates demonstrates Visual Basic (1991) [video] by xtracto on Thursday October 19, 2023 @09:44AM (#37942820)
VB was the Macromedia Flash of our (pre-internet) generation.

Too bad theres nothing as good an ubiquitous nowadays.