I work on some computer, and I saw that everytime a VB project is open, all the windows (forms, class, module..) are maximized.
I know it got to do with some registry setting. What is it? (Add another registry key? where?
Thanks.
Printable View
I work on some computer, and I saw that everytime a VB project is open, all the windows (forms, class, module..) are maximized.
I know it got to do with some registry setting. What is it? (Add another registry key? where?
Thanks.
VB saves these settings in the .vbw file. There is one for every project. It store what modules/classes were opened last, and what the state of them were. if you dont want them to come up everytime. Open the project once, close all the open forms/modules and classes then save and close the project. Set the .vbw file to read only, then each time you open the project, it will always be the same.
I found it. If you add the key MDIMaximized to the following location
HKEY_USERS\S-1-5-21-424150360-31358154-56781596-1005
\Software\Microsoft\Visual Basic\6.0\MDIMaximized
(S-1-5-21-424150360-31358154-56781596-1005 may be different on your computer)
and set it equals to 1 then all VB window will be maximised no matter what you save your project as.
Set to 0 will minimise window of cource.
Did you find that in the Knowledge Base or you just played with the registry (always fun :))?
I search on the computer of the employee who left already. May be he got it from some where.