Advertisement
ASP_Volume3 Miscellaneous #57122

Form Maximized Code windows when opening VB6

This code is not for everyone, just for those of us who like to work with maximized windows. This will explain how to force Visual Basic 6 to always maximize your code windows when opening projects. This method will always open windows maximized, not like VB5 when it would rememeber your settings.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
This requires modification to your registry, please take steps required before making changes here.
Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0
Look to see if you have a string value of MDIMaximized, if not create a new one and set its value to 1. A value of 0 will return to normal sized windows.
Next time you open VB enjoy one less step of maximizing your windows.
Original Comments (3)
Recovered from Wayback Machine