... I seem to recall doing the same on a small project. The hardest part was not insulting the previous programmer whose mindset was very very COBOL (but he'd written this in QuickBASIC). This was because he was my boss. Fortunately, he quickly accepted I was a rather better programmer than he.

Hmm. I seem to recall a few more I did along the same lines. One I even did to myself! (Dial-in package around Banyan VINES; front-end program written in QuickBASIC for authenticating the user upfront before they connected to the server. Managed to re-write it in VINES' dial-up scripting language. Saved a few hundred K.)

Wade.