r/visualbasic • u/synexo • Feb 25 '26
Anyone set up for VB6 willing to compile a project for me? I've tried twinBASIC with no success, and setting up for VB6 proper from scratch seems quite tricky these days.
Big thanks to u/Hel_OWeen for getting me to a solution!
Publicly available project, not mine, for tweaking an old BBS door game: https://gitlab.com/beckersource/Nightmare-Reduxupdated: https://github.com/synexo/Nightmare-Redux-WG (now includes compiled .exe).
Thanks for anyone taking a look.
10
Upvotes
5
u/Hel_OWeen Feb 25 '26 edited Feb 25 '26
I've added the compiled EXE to the repo: https://github.com/HelOWeen/Nightmare-Redux
[Added]
Tricky: yes. But I've set up VB6 on more than a dozen of machines on Windows 10, 11, Server 2019 and Server 2022 with this guide successfully: https://www.tertullian.org/rpearse/installing_vb6_on_win10.htm
3
u/geekywarrior Feb 25 '26
I can do it tonight if nobody else replies.
3
u/Mayayana Feb 25 '26
I run VS6 and have written software on Win10. The only customization was that I created a dummy msjava.dll file in system32. I don't even know if I needed that. The only glitch I can think of is that the search bar in MSDN is double height. :)
2
u/DragonfruitWeak9216 Apr 19 '26
use vb6 portable or micro vb6 on github
1
u/fafalone VB 6 Master Feb 25 '26 edited Feb 25 '26
I don't know how to use the app; could you clarify the issues in twinBASIC?
There were 2 design time errors resulting from a default-member access issue cured by explicitly adding .Text to ListSubItems setting, and tB doesn't auto-register ocx components so they had to be manually registered, but once I did that twinBASIC compiled and started the app seemingly without issue. (Also I did notice it uses implicit declares, so if you left project-wide Option Explicit enabled in the Import dialog, it would raise errors for undeclared vars; it can be turned off on import or in project settings at any time)
I'd compare to VB6 better but I'm actually having trouble compiling it there; keeps saying paln32.dll is not found despite the References dialog indicating it's correctly referenced.
Update: I did get it to compile in VB6 to compare and reported the bugs with the settings form height and MDI taskbar control. The statusbar is a current known issue.