r/visualbasic • u/lmatonement • Dec 01 '20
Get Source Code from Visual Basic 3?
I am working on a system that was originally written in VB 3 (I think) in 1991. I was able to recover the source files, but they're not in plain text.
Does anyone happen to have a running Visual Basic 3 and could open the files and save them as plain text?
I'm looking at ten files in all for the last two generations of the code. The files are
CUST.FRM FILE.FRM MOD1.BAS PLOT.FRM VGL.MAK
I'm thinking that last file might be a Visual Basic "makefile"? It's a binary file, but seems to list the other files and maybe a project name.
6
Upvotes
4
u/JamesWjRose Dec 01 '20
If this is 1991 these are either VB 1or 2, as version 3 didn't come out until 1993. (I started with VB 2, yea, I'm old, I know)
.bas and .frm files SHOULD be text files, and SHOULD show the functions.
If you decompiled those files from the exe, that may be why you are not seeing plain text.
For example, I have some old code on my site that is written in VB 4 or 5, maybe 6. Anyway, the file format is the same: http://www.blissgig.com/default.aspx?id=3
You would need a copy of VB 2 or 3 in order to compile this into a new application. I couldn't find a legal copy, but maybe your search will be better.