r/visualbasic • • 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

22 comments sorted by

View all comments

Show parent comments

2

u/JamesWjRose Dec 01 '20

I understand that there was an option to store the source code in binary or plain-text format in VB 3

Ok, I'll believe that, it was 25+ years ago. The only copy of VB3 I could find was on the "high seas"

I guess the next question is, why are you attempting to tweak this code? Unless it's something simple, it may be of value to start over. Maybe.

2

u/lmatonement Dec 01 '20

I'm planning to start over. This project is a reworking of an old project (obviously) that never took off. It's a complete do-over replacing hydro-pneumatic movement with servo motors, and everything else. The hope is that if I can read this code, I can get a jump start on much of the design process by copying the code. Starting with this code would be much more valuable than starting from a blank slate. I wouldn't be using the code to get started, but using it to try to make my algorithm implementation as robust as possible.

Thanks for asking!

2

u/StickySnacks Dec 01 '20

Consider that there have been significant changes in how algorithms can be developed in modern day languages to take advantage of things that were written at a very low level close to 30 years ago. Not saying your approach is wrong, if I were you though I wouldn't waste time trying to translate something that old.

1

u/[deleted] Dec 02 '20

[removed] — view removed comment

2

u/lmatonement Dec 02 '20

he can probably paste most of the code into .NET 5

haha, you're probably right!