|
-
Oct 10th, 2001, 02:11 AM
#1
Thread Starter
Fanatic Member
VB Environment setting
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.
-
Oct 10th, 2001, 02:23 AM
#2
Lively Member
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.
-
Oct 10th, 2001, 06:38 PM
#3
Thread Starter
Fanatic Member
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.
-
Oct 10th, 2001, 06:50 PM
#4
Member
Did you find that in the Knowledge Base or you just played with the registry (always fun )?
-
Oct 10th, 2001, 07:24 PM
#5
Thread Starter
Fanatic Member
I search on the computer of the employee who left already. May be he got it from some where.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|