r/visualbasic • • Jul 02 '24

Tips & Tricks Still worth?

Hi,

I remember doing VB6 back in my elementary school (more than 20 years ago) and I was making cool apps with friends. Some of them are even still published at download com. I am now totally in different area of development for more than 15 years, but I'd like from time to time to make some cool VB6 apps again. I remember it was quite easy just to save project as .exe file and that's it, that's why I liked VB6 so much.

Is this still a thing now when we are at W10/W11 era? Do you recommend some other VB version and how to export apps as .exe simply as in VB6? Are there some alternatives?

Cheers!

7 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/fafalone VB 6 Master Jul 03 '24 edited Jul 03 '24

You can write simple programs very quickly. At the same time, most API calls can also be incorporated, and with more effort and expertise, pretty much anything but device drivers is feasible.

No need to qualify that. You can, in fact, write device drivers in VB6.

https://www.vbforums.com/showthread.php?788179-VB6-Kernel-mode-driver

For 32bit Windows, of course, no WOW64 in kernel mode; but you can compile with twinBASIC for x64...

https://github.com/fafalone/HelloWorldDriver

You can also use WinRT from VB6... including XAML based controls... go to https://www.activevb.de/cgi-bin/upload/catalog.pl and look for VBC_UwP* projects from Frank Shculer

twinBASIC is a very interesting possibility, but at this point it's in early beta.

I'd hardly call it early beta anymore; very little is still unimplemented, even massively complex apps like PhotoDemon now run immediately on import with no modification. Krool's VBCCR controls not only run but have x64 versions; and all the neat stuff by me and others here. Like Carles PV has a near-perfect VB6 clone of Lemmings, runs in tB. basicNES Nintendo emulator, runs in tB. My ucShellBrowse control, ETW app, and all my shell interface demos run.

Yes there's still some unimplemented features (printer support being the biggest, but that's imminent now, like this week imminent), and very large (>100k LOC) projects still usually have some showstopper bugs... but that's late beta status, not early. I really wish Wayne would update the www, it's so out of date.