r/visualbasic • • Feb 28 '20

(VB4 16bit) Lost to time

My friends job is to service slot and poker machines in bars. The only way to adjust the payout amounts of the machines is with an ancient program written in VB4 16bit. They only had one computer with the program so I made a few backups of it.

In my spare time I decided to at least see what makes it tick so I tried to decompile it. Problem is not a single decompiler would even touch it. I've read online that someone years ago did make a program that could crack open these ancient VB4 programs, but all I found were forum posts and dead links from 2003. After countless hours of coming up empty I've come to the conclusion that decompiling it is not possible, at least not anymore. It seems like the decompilers were lost to time, and this program can never be decompiled.

Just thought I'd share my adventure. For now I can run it on Windows 10 32bit with ntvdm enabled.

10 Upvotes

2 comments sorted by

4

u/Doriphor Feb 28 '20

VB4 compiled to P-Code, which should be relatively easy to decompile from what I read. Try to google "P-Code decompiler" and see if that helps.

4

u/Songg45 Feb 28 '20

I have a recompile for VB4 on my computer. When I get home, I'll see if I can find it