Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Hardcore Visual Basic

    Hardcore Visual Basic

    Bruce McKinney · 1995

    Programming
    Open LibraryAmazon
    Stats for nerds
    4recommend
    6mentions
    5people
    2010–2025years
    83% recommend17% neutral

    Mentions per year

    201020122014201620182020202220242025

    What Hacker News says

    1. layer8Jan 2025
      > No multi-threading

      That isn’t quite correct, because you can take the address of a VB6 procedure and pass it to win32 CreateThread. See the related chapter in Hardcore Visual Basic for example. And of course you can use win32 mutexes and such. Thanks to the win32 interoperability, there aren’t a lot of limits of what you can do in VB6.

      thread
    2. layer8May 2022
      You could run stuff asynchronously using a hidden window. Basically you could use the full win32 API and use VB procedures as callbacks (e.g. as window procedures for your own window subclass). The book “Hardcore Visual Basic” explained how to do it: https://classicvb.net/hardweb/hardbook.htm
      thread
    3. smhendersonJun 2019
      The first money I made using a computer was writing simple business automation apps in VB, first 5 and for a short while 6. I also dabbled in Access Basic and then VBA when all the office apps standardized on it instead of each having their own flavor.

      VB was great like you said until you needed to do something difficult. I remember Bruce McKinny’s Hardcore Visual Basic book being my best friend for a little while. It thought me I could do the hard stuff in C, make a DLL and drop that into my VB project.

      Bruce had a saying, VB makes 95% of the job easy and the other 5% impossible.

      thread
    4. jeffFrom18FJun 2019
      I was going to make a reference to "Hardcore Visual Basic" but you beat me to it. Fantastic book, it's hard to find a tech book that is that useful and fun at the same time.

      My first job started out with mostly Visual Basic 6. One of the modules written in VC++ by a bunch of guys who were looking to get that on their resume (they had since departed). It probably should have just been in VB as well and was always a nightmare to debug and enhance.

      Once .net was prominent we mostly moved to C#. There didn't seem to be much of a reason to go with VB.Net, C# seemed more "legitimate" and without the hassles of Visual C++/MFC.

      Decades later and I still find myself writing an Excel macro in VBA now and then but I've largely moved on.

      thread
    5. nzmsvJul 2010
      You can do OOP in VB. It is almost proper OOP: the only thing not supported is real inheritance. So for every method in your child class you have to write some boilerplate to make a call to the parent.

      As a side note, there was a really awesome book I read back when VB6 was still new. It's called Hardcore Visual Basic, and it is about how to do things that were said to be impossible in VB. Using the undocumented VarPtr functions, calling Windows API, etc. It is out of print (obviously), but available online at http://vb.mvps.org/hardweb/

      That page mourns the late VB6. It is right: VB.Net is an entirely different language. I don't even know where you'd get a copy of old school VB these days (though VBA in Office is quite similar). Anyway, VB6 is dead, so you are probably interested in moving on to something modern.

      The nice thing about Python is exactly that everyone keeps going on about how awesome it is :) What this means for you is that people have written some really good libraries. Many of them are in the standard distribution and are well-documented. This is what Python people mean by "batteries included".

      As for what I'd use for this app... Not sure. I haven't written anything GUI-heavy in a long time. With Java I usually hand-code the GUI, but there might be good visual editors these days. For Python there is an IDE called Boa Constructor which lets you build GUIs. I have not tried it though.

      thread
    6. dguaragliaOct 2016
      Haha, your story about hitting a wall with BASIC only to go somewhere else reminds me of how I decided to learn C: I had "mastered" QBASIC and was learning Visual Basic, so my dad bought me a book called "Hardcore Visual Basic". That book discussed extensively how to get Visual Basic to interact with the native Windows API for fun and profit. Pretty much every chapter began with "this is so much easier in C, but here's how we do it in VB", so wee me decided to hunt for a C compiler in the pile of Shareware CDs I had laying around. Finally found a really old version of Visual C++ (I think it was 2.1, so it was old even by the time) and then spend the next year of my life writing toolbar and common control libraries for lack of anything better to do :)
      thread

    Related

    Cover of UML distilled
    2008–2025

    UML distilled

    Martin Fowler
    9 recommend · 17
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of Clean Code
    2008–2026

    Clean Code

    Robert C. Martin
    298 recommend · 951
    Cover of Code
    2008–2026

    Code

    Charles Petzold
    243 recommend · 385
    Cover of The Rust Programming Language
    2015–2026

    The Rust Programming Language

    Steve Klabnik
    170 recommend · 257
    Cover of C# in Depth
    2009–2025

    C# in Depth

    Jon Skeet
    29 recommend · 45