Earlier quoted context omitted.
It's called try { doSomething(); } catch(e) {} these days. :)
I'm still programming in VBA today. I name the error handling labels try: and catch: and finally: :). My attempt to introduce some modernity into the language (the'try:'-label is obviously obsolete and is a mere indicator).
A TLS 1.3 stack written in Visual Basic 6
61–70 of 101 posts
Re: A TLS 1.3 stack written in Visual Basic 6
#62Earlier quoted context omitted.
Don’t tell anyone, but I still think we’ve been terrible at UIs since VB6 and Hypercard. We mostly gave up on 2D grids as device resolutions evolved. We made HTML, then made HTML5 as if everything was a blog or newspaper with a navigation bar, semantically (and you still have to learn that the nav contains a bulleted list?) Unfortunately, it became a 3-hour or 3-year or 30-year process for someone to learn “how do I…
I completely agree. I've played with VB6 a few times recently and it feels so fast and natural to make a UI compared to modern frameworks. A bit part of it feels like a dedication to highly polished developer tooling. A strong GUI editor that works with (mostly) zero configuration is a big feature of VB6 to me.
Re: A TLS 1.3 stack written in Visual Basic 6
#63Are there still working and available ide and compilers for vb6? Any open source ones? After working on vba for MSAccess for a few years I came to both appreciate and hate it. It’s fast, small in features compared to modern languages, but a pleasure to hack around and find ways to expand its capabilities. I made simple ORM with it, autogenerating classes from a database, went into the rabbit hole of modernising the d…
I heard GAMBAS is one. Not tried it. Was mentioned on HN recently and in the past too.
Re: A TLS 1.3 stack written in Visual Basic 6
#64Are there still working and available ide and compilers for vb6? Any open source ones? After working on vba for MSAccess for a few years I came to both appreciate and hate it. It’s fast, small in features compared to modern languages, but a pleasure to hack around and find ways to expand its capabilities. I made simple ORM with it, autogenerating classes from a database, went into the rabbit hole of modernising the d…
See https://www.vbforums.com/showthread.php?898205-Can-Visual-St...
I don't think Microsoft will come after you for doing it even if you use a pirate copy.
Re: A TLS 1.3 stack written in Visual Basic 6
#65This is probably the cleanest VB 6 I've seen. Do notice Option Explicit. That is like disabling 90% of the magic that causes unmaintainable code.
I remember the feeling when you see a module and it has an "On Error Resume Next" at the start.
I had to convert everything to "Option Base 0" before I could start fixing the reported bugs, it was far too confusing following the arrays passed between modules being indexed starting at 0, then 1, then 0 etc.
Re: A TLS 1.3 stack written in Visual Basic 6
#66Super cool to see this amazing tool getting love in 2023!
Re: A TLS 1.3 stack written in Visual Basic 6
#67Re: A TLS 1.3 stack written in Visual Basic 6
#68Ah,VB6 - that's how I started programming. There was a book literally called "Visual Basic for Kids" and I got it when I was....12? I think? Anyway it got me into making all kinds of basic games, then I started reading books about C and C++, started programming for the Playstation Portable, went to university to study CS and got a job in the games industry after that. I 100% credit Visual Basic 6 for me being a progr…
Re: A TLS 1.3 stack written in Visual Basic 6
#69VB6 is how I learned to speak to the computer and make it do anything I wanted it to do.
I was in high school when I built a simple, yet funny, game in VB6. I was a novice, but the game was working like a charm. The concept was basic, the alphabet letters, randomly falling down the screen from top to bottom, and you had to press the corresponding key on the keyboard before the letter totally disappeared at the bottom of the screen. When you hit the letter, it would explode with a nice animation while playing an "explosion.wav" sound file. When missed, the screen would get a red flash with an alert sound. I then took a step further by introducing "levels", which were basically a mix of falling speed and adding extra characters, like UPPERCASE letters, where you should hold the SHIFT key when pressing the letters, numbers on the keypad, and even special characters that have a special combination on the keyboard.
Sometime later, one of my elder brothers was studying at a broad university (in Europe to be precise), and as a final project of his studies, he was required to build something using programming — anything that runs on a computer! He reached out for help, and I told him I'd built a game, He asked me to send it over, and when he pressed the F5 key on his keyboard and ran it, he was amazed at how funny it was. He had a tiny challenge, though, he was obliged to explain how he built it in presentation. I can’t forget how I explained the code to him and what each function meant. I was in a public park, and the people were staring at me like I was not OK! I was yielding on the phone: "read that IsPressedLetterOnScreen function", "check that class", "go to line 99", "make a break point here", "press CTRL+F5".. you know..
In the end, he fully understood how it was working, presented the game, wowed the evaluators/teachers and, per his claims, got the highest score among all of his colleagues. Hearing that his (I mean, my) game was the best project presented that year made me the happiest person living on the planet that day..
That's my story with VB6.. in a nutshell, and that's why I felt the haptic feedback in my heart!
Re: A TLS 1.3 stack written in Visual Basic 6
#70Scanning "Visual Basic 6" in the title instantly triggered a strong haptic feedback in my heart! VB6 is how I learned to speak to the computer and make it do anything I wanted it to do. I was in high school when I built a simple, yet funny, game in VB6. I was a novice, but the game was working like a charm. The concept was basic, the alphabet letters, randomly falling down the screen from top to bottom, and you had t…
I sincerely hope your nick is not PII though or you might have incriminated your brother.