News for hackers. Stuff that matters.
Re:Visual Basic 6 rebuilt in C# – complete with form designe... by Closi on Monday November 11, 2024 @05:24AM (#42106007)
It does! Drag some controls onto the form and hit the play button.
Re:Visual Basic 6 rebuilt in C# – complete with form designe... by thom on Monday November 11, 2024 @05:31AM (#42106041)
Event handlers don't seem to run (I couldn't get the simplest MsgBox to work, at least). Is the actual language implemented?
Re:Visual Basic 6 rebuilt in C# – complete with form designe... by mrweasel on Monday November 11, 2024 @07:19AM (#42106629)
Same issue here, I add UI elements just fine, double click and generate the event handlers, but nothing runs.
Re:Visual Basic 6 rebuilt in C# – complete with form designe... by bandysc on Monday November 11, 2024 @07:25PM (#42111685)
Hey, author here, I didn't implement all the properties and events, i.e. the Click event on labels was missing. Updated the website with all the basic events.
Re:Visual Basic 6 rebuilt in C# – complete with form designe... by mrweasel on Tuesday November 12, 2024 @02:51AM (#42113601)
It works :-)

Amazing, such a fun project. Very well done.

Re:Visual Basic 6 rebuilt in C# – complete with form designe... by jmkni on Monday November 11, 2024 @05:35AM (#42106066)
They're working for me

Drag a button, double click, MsgBox "hello" in the event handler, hit play

Re:Visual Basic 6 rebuilt in C# – complete with form designe... by bandysc on Monday November 11, 2024 @07:24PM (#42111680)
Hey, author here, only a subset of VB6 language is implemented, I also didn't implement all properties and events, i.e. the Click event on labels. Updated the website with all basic events.

Considering how much response this project got, I might improve the VB6 interpreter :)