If you use the VB development environment in MDI mode (the default) and you like your code windows maximized, you might have noticed that, unlike VB5, VB6 doesn’t remember this preference between sessions. To jog its memory, create a text file containing this code, and name it MAXIMIZE.REG:
REGEDIT4[HKEY_CURRENT_USERSoftwareMicrosoftVisual Basic6.0]"MdiMaximized"="1"
Double-click on the file name to update your system registry. Next time you start VB6, its code windows will maximize automatically.