Results 1 to 5 of 5

Thread: VB Environment setting

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613

    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.

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Posts
    87
    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    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.

  4. #4
    Did you find that in the Knowledge Base or you just played with the registry (always fun )?

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    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
  •  



Click Here to Expand Forum to Full Width