in reply to Making a program for a gui future

The main thing to do in order to make your program "guiable" is to separate out your action routines, so they can easily be driven from the gui.

For example, if you make "OpenFileByName" a sub, it won't matter if the gui drives it or the command line.
--
Mike