For no good reason I just installed and ran Visual Basic 5.0… on Windows 7.
Unsurprisingly, it runs.
More unsurprisingly, there are issues. For example, the placement/sizing rectangles are unbearably sluggish, and you can’t add components to the toolbox without elevation. I mean, if you want to add, say, ComCtl32, you can check it in the list, but pressing OK just gets you a “can’t access the registry” error. You have to run VB5 as admin to make that work.
These and related issues are why I finally stopped using VB6 back then.
And that’s why the real autorun for my game is made in Visual C++, on a Win98 VM.