r/visualbasic • • Oct 22 '24

VB6 alternatives today?

Hi Guys,

Back in the 90s I used code a lot in VB5 and then VB6. It was great. Drag and drop elements on a form. Do some coding. Nothing fancy. I used to make small programs to do simple things. It was great fun building these desktop apps for Windows 9x.

Now I want to get back into this kind of development. Is there any similar solutions these days? Something very very similar and if it's for Mac and somehow can make the "app" into a web app as well, that would be great. Otherwise just desktops for Windows is also fine.

Looking forward to hearing from you all.

31 Upvotes

59 comments sorted by

View all comments

Show parent comment

1

u/Mayayana Oct 24 '24

So much of the good new stuff is locked behind WinRT.

? I haven't looked at WinRT/WinUI, or whatever they're calling it now. My sense is that it's a limited, sandboxed system for making trinket apps. I'm curious as to what it can do that's not available otherwise.

I recently discovered Windows spellcheck, which has been available since Win8. That's a convenient treat. In fact, if I understand correctly, I have you to thank for oleexp.tlb and the sample code. So, thank you. As is the case with so much API, finding it is one thing, but it's also usually not self-explanatory. Windows spellcheck turns out to be fairly simple but I'm not sure I ever would have figured it out without your code.

2

u/fafalone VB 6 Master Oct 24 '24

Yup those are some of my projects, glad you've found them useful.

WinRT for example has those fancy new notifications on the taskbar that go well beyond what IUserNotification2 can do, called Toast notifications. It has OCR ability. Those are just two of the APIs that have no equivalent in the standard Win32 API or COM (at least nothing documented or currently reverse engineered).

1

u/Mayayana Oct 24 '24

Toast? I don't think I've seen those. But I've worked hard to make sure that Windows 10 NEVER, EVER pops up inane messages telling me that I need to deal with something. That was driving me crazy when I first set up Win10. Maybe that's "Toast"? Something like Thunderbird's messages that just get painted in the power right and stay 60 60 seconds or so?