logoalt Hacker News

A browser-native classic Visual Basic VB6 IDE

390 points • by wiso • yesterday at 6:49 PM • 128 comments • view on HN

Comments

franga2000 • today at 1:21 PM

Makes it that much more absurd that tooling on modern platforms isn't anywhere near this level of discoverability and developer-friendliness.

I'm not sure if that's the right term, but by discoverability I basically mean having things like pallettes, property editors, visual builders, codegen... Basically that I can look at the pallete of widgets, drag a button onto the screen, click on it, see and rich-edit all the possible properties about the button, one-click codegen an event handler for any possible event of the button... No documentation, no guessing the names of properties of events, everything is just there right in front of me. I miss that from VB.

➕ show 5 replies
badsectoracula • today at 6:36 AM

Looks good functionality wise, you can even "compile" an app to a HTML file. This is exactly how something like this should work :-).

However, appearance-wise it looks very noisy/distorted with some crooked elements (especially window buttons) and missing visual parts (mainly bevel edges). I made a screenshot with comments for it[0].

I guess this was made with AI which isn't that great at making stuff pixel-level unless you explicitly told it to check reference images and be pixel level precise, so i'd recommend firing up a VM with WinXP in classic theme mode (or even better, 86Box running Windows 95 or Windows 98) and grabbing a bunch of screenshots.

Also i found some bugs:

1. You cannot click on non-visual controls (or disabled controls) to select them (e.g. timer). You can still use the rect selection to select them and drag them around by resizing via the handles but clicking on them selects the form.

2. Adding a control doesn't update the controls list in the editor unless you double click a control without a handler (i.e. the form, as long as you remove the Form_Load handler). Even after the controls are updated, if the event list has only one event, you cannot have the editor add by selecting it (i guess because it is already the selected item and you don't receive an event about selecting it).

I tried to make a simple pong game but it seems no key or mouse motion events are implemented yet so all i did was to make a bouncing OptionButton :-P.

[0] http://runtimeterror.com/pages/iv/images/5ffbf1494821c77a3fe...

➕ show 2 replies
waldrews • today at 5:41 AM

The property grid control is still the greatest general purpose UI of all time. Define your classes with some attributes and it just works. It was all downhill from there with web and mobile.

➕ show 2 replies
jit_tech • today at 6:14 AM

VB6 compressed a lot of the software development loop into one environment: change a property in a control, attach a behaviour and run.

I am wondering if newer avatars of coding agents can bring that back. Two reasons 1) Code generation is getting faster 2) More and more code is becoming a detail that is expected to work

Imagine a RAD where we have a VB6 like experience and can dive into real code (agent-generated) when the abstraction breaks.

avallach • today at 8:35 AM

From the same author: C# browser ide inspired by the modern visual studio https://github.com/wieslawsoltes/SharpForge

He has 500+ open source repositories including very advanced stuff like GPU powered gui framework and game engine components ( https://wieslawsoltes.github.io/Home ). It's very impressive and almost hard to believe that a single person could make all of this, even with help of modern ai agents.

➕ show 3 replies
Dwedit • today at 2:03 AM

Best part of VB5 was that when you hit F1, you instantly got help for whatever was under the cursor. VB6 changed it to use some much slower MSDN help system instead.

➕ show 2 replies
aryx • today at 10:26 AM

For the old coding environment nostalgic out there, I've made one for TurboPascal here: https://aryx.github.io/ocaml-elm-playground/apps/#programmin...

jordanscales • today at 11:19 AM

> border-color: var(--vb-light) var(--vb-dark) var(--vb-dark) var(--vb-light);

This creates 45 degree corners on the borders which are an uncanny valley to me [1]. Feel free to lift any CSS you need from https://jdan.github.io/98.css/, it's MIT licensed. I used a box-shadow hack to get the "staircase" look.

> box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;

[1] https://notes.jordanscales.com/98-css-reflections#when-butto...

sijmen • yesterday at 10:07 PM

Slick! Thanks for bringing back some memories of how i got into programming; by automating math-homework in visual basic.

vjvjvjvjghv • today at 3:18 AM

Wow, this feels almost like the real thing.

Is there something similar for the web now? Easy UI editor but a fully featured language behind with direct database access.

➕ show 2 replies
Narishma • today at 2:26 AM

These kinds of browser recreations of old native apps always fails at text rendering.

➕ show 2 replies
frankcort • today at 7:14 PM

You can even make changes to the code while debugging and stepping line by line through the code. That was one of the best parts of VB6! Albeit a little dangerous.

stsch • today at 8:33 AM

Childhood resurrected, awesome! 30+ years later, I'm still super fast in it, lol. Thanks!

asadm • today at 4:47 PM

VB6 was my first "language" back in high school and how I earned money ie. making software for local folks. It was great!

That and Flash is what I miss, we don't have the tools anymore. Lost in hunt for "optimal" or "responsive" apps.

fg137 • today at 12:01 PM

From the title I thought someone managed to emulate VB6 in the browser which would be quite a feat. Turns out it's a retro version of wix and produces html and JavaScript, more or less. Can't say I'm excited.

sajithdilshan • today at 9:47 AM

This is nostalgic. Although I think VB didn't have anti-aliasing back then. However, I remember creating an app with a UI and MS Access to store data with VB and it felt like magic to me.

➕ show 1 reply
vunderba • yesterday at 8:01 PM

Nice job - definitely consider implementing at least a little bit of the Win32 API layer! For kicks I tried importing an old highschool VB6 map editor at it which uses BitBlt but sadly it didn't work.

➕ show 1 reply
theblazehen • today at 9:07 AM

Good times! My first programming language :)

I remember sitting in class in school, writing out programs on paper for me to try out at home

➕ show 1 reply
karlkloss • today at 5:38 AM

3 - 3.01 = -0.009999999999999

That brings me back.

hagbard_c • yesterday at 10:39 PM

The speed with which this thing launches in a browser should put shame on the faces of current IDE developers. While VB itself was nothing to write home about there certainly was something lost when hardware became more powerful. Imagine what current and 'recent' hardware were capable of if only efficiency was taken seriously again. Maybe generative AI can provide a boost where human developers would rather spend their time on chasing the latest fads, adding yet another feature or inversely removing even more functionality in an attempt to create the 'perfect' sparse application? Let the humans think up the features and write the initial implementation, then loosen the bots on the code to make it run as efficiently as possible on hardware which used to be current a few generations back.

➕ show 1 reply
msephton • today at 12:48 PM

Super cool! Brings back so many memories. I wrote some very popular apps in VB back in the Windows 9x era: hot corners, screen savers, notes app, and many more.

pcdoodle1 • yesterday at 11:54 PM

Awesome! If only we could publish the programs as a PWA :)

➕ show 5 replies
Kuyawa • today at 1:56 AM

Oooh beautiful! Visual Foxpro was the same, only the language changed but their screen designers were almost identical

➕ show 1 reply
nickstinemates • today at 3:28 PM

VB6 was peak programming and the nostalgia levels are insane.

contificate • today at 11:14 AM

This really takes me back - not that far, alas, as my Scottish high school was teaching VB6 in 2016!

wiradikusuma • today at 3:17 AM

Debugging and IntelliSense don't work, and the deliverable isn't a .exe but an .html (though it works). Wondering if it can access ODBC lol.

➕ show 1 reply
john_owl • today at 8:23 AM

That's great! I used to love creating UI with VB6 when I was a teenager in high school.

sasakrsmanovic2 • today at 2:38 PM

Was this built with Uno Platform too?

webprofusion • today at 5:53 AM

Looks great! However using an active trademark from a mega corp seems like risky move even for a fun project.

pieter_mj • today at 8:43 AM

I promise I will not hack the project when OLE controls become available.

egonschiele • today at 1:31 AM

This takes me back! Right clicking works too, this is awesome. I miss property tables, that was a nice UX. Flash had it too.

mempko • today at 5:16 PM

I wrote my first programming language compiler on VB6. Yes, a strange thing to create a programming language. VB6 has a special place in my heart.

orthodonticjake • yesterday at 10:23 PM

easy way to trigger an Epic developer

➕ show 1 reply
BadBadJellyBean • today at 4:27 PM

The example code is bad. It doesn't even have "On Error Resume Next" on the top of the code. How are you supposed to skip all errors? SMH my head.

t1234s • today at 3:16 PM

I miss the old NT4 look. Its was very productive and no slop/nonsense.

➕ show 1 reply
Onavo • yesterday at 11:04 PM

How does it compare with

https://news.ycombinator.com/item?id=42105869

➕ show 1 reply
qxxx • today at 5:23 AM

really cool! brings the memories back.. I used to create few shareware products back then with VB3 - VB6.

imnotr0b0t • today at 12:22 AM

Wow, that's great. It brings back so many memories

dkga • today at 1:59 AM

My first <del>love</del>IDE…

JodieBenitez • today at 4:48 AM

Damn... brings back memories...

truetraveller • yesterday at 11:14 PM

Was this done with an LLM? Repo?

➕ show 1 reply
_blk • today at 6:02 AM

Uhoh, that'll bring back 1-based array indices

broast • yesterday at 11:44 PM

This is amazing

diavelguru • yesterday at 11:36 PM

talk about a blast from the past!

iririririr • today at 7:10 PM

I had forgotten how cool the lines breaking each methods where in the source code editor!

...Off to waste the day in my .vimrc *sigh*

Sarkie • yesterday at 10:31 PM

Intellisense?

Was that there?

➕ show 2 replies
mkrishnan • yesterday at 7:43 PM

Wow. very nice, it even runs the app

shevy-java • today at 10:02 AM

Kind of cool how far the browser as platform progressed.

We look back at people's computers, say, 30 years ago now.

And in 30 years the people will look back at us and wonder why we sucked so much. Or, AI skynet slop is winning, then we all look up to our AI overlords.

webbrainiac • today at 9:37 AM

[flagged]

486sx33 • yesterday at 10:17 PM

[dead]

🔗 View 2 more comments