r/visualbasic • u/avidichard • Feb 10 '25
Has anyone managed to find a mod that makes VB6's IDE dark mode compatible?
I really mean the IDE, not the coding. A modernized version of VB6 with dark mode compatibility. I know, it's old, I know that there's ModernVB by VykosX. But I really am wondering if there's more to VB6 than these. And no, not any other apps. I really mean VB6 itself.
4
Upvotes
5
u/fafalone VB 6 Master Feb 10 '25
It's probably possible with extensive subclassing, resource dialog editing, and undocumented dwm APIs, but afaik no one has done it. There has been some decent effort to enable dark mode in apps made with VB6; but not for the IDE itself.
As to other apps... I don't know for me it's getting kinda like VB3 questions at this point... where it's reasonable to point out that if you want more modern features you should use the new version of the language with the more modern IDE. So I'll assume you just meant to exclude IDEs for other languages that don't support the VB6 language (like VS/.NET or VSCode) and note that twinBASIC defaults to a very nice dark mode. But tons of people have complained they wanted it to look like VB6 so now there's a theme that mimics its style in addition to a regular light theme. You can also now customize just about everything color/font wise via a CSS-based theme system.
2
u/jd31068 Feb 10 '25
There is this attempt here https://www.vbforums.com/showthread.php?885405-RESOLVED-Modernizing-the-VB6-IDE scroll down to post #16
3
u/Mayayana Feb 10 '25
I'd be surprised. There's nothing like that in the settings. Only code color options. "Dark mode" is a recent fashion. For that matter, custom windows are mostly a new fashion. Before that the basic rule was that programs should respect the user's wishes and stick with system colors. The only exceptions were skinned programs, like music players that looked like boom boxes. A VB program could be made like that, of course, using a borderless window filled with a picturebox, then tracking mouse click coordinates and offering different background images. But I don't think any serious software was ever written like that.
Personally I'm baffled by the fad of the DOS-console-window style. It seems to be everywhere suddenly. I don't understand it. It's hard to read. It creates a depressing atmosphere. Do people like it because it provides the romance of being a hacker in an action movie? I don't even have black background in cmd.exe. I have white, with dark brown text.
It might be possible to hook the IDE to change the colors. I don't know. I don't think I've ever seen anything like that done.
2
u/sa_sagan VB.Net Master Feb 10 '25
You'll need to use a third party IDE like RAD Basic. VB6 is long done.
1
u/fasti-au Feb 11 '25
https://windhawk.net/
This should be able to do it. Target via accessibility tools and autohotkey then write code to inject colours on the windows
1
u/ilirium115 Feb 11 '25
Yes, I think it's possible, and it should be easy using themes in Windows. This is a built-in function in all (?) Windows. In Windows 10, there is a High Contrast Mode. Find it in Windows settings and turn it on.
PS I tried to turn on High Contrast Mode on my wife's laptop, and it also works for Total Commander, a classic app.
PPS Oh, sorry. I caught that the OP said, "And no, not any other apps." Unfortunately, my way applies to the whole system.
PPPS I don't use VB6 and Windows, but I remember that Windows 95, 98, Me, 2000, and XP have a cool feature: the ability to change the colors of each element, and moreover, to have themes with predefined sets, which can also change the sizes of elements.
1
u/Anuclano Feb 17 '25
Just use a dark color scheme.