Best way to modernize is to use the twinBASIC programming language. It imports VB6 source code and forms.