in reply to Making a program for a gui future
For example, if you make "OpenFileByName" a sub, it won't matter if the gui drives it or the command line. -- Mike