Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Reset Layout (VB6)

    I think I saw a while back, a post asking how to reset the screen layout for VB6.
    I seem to have moved my properties (usually to the right of the VB editor) and can't seem to dock it to it's original position.

    Does any lounger remember the post ?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Reset Layout (VB6)

    Well, there was this star post: <IMG SRC=http://www.wopr.com/w3timages/starpost.gif> <!post=Docking Floating Windows in VBE Editor,19683>Docking Floating Windows in VBE Editor<!/post>

    Does that do the trick? More tips and comments can be found in this thread, and this one.

  3. #3
    Bronze Lounger
    Join Date
    Nov 2001
    Location
    Arlington, Virginia, USA
    Posts
    1,394
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Re: Reset Layout (VB6)

    Besides the Star Post referenced by jscher2000, there have been a lot of previous posts on this subject so not sure which one you're looking for. I posted some suggestions a long time ago but cannot find anywhere in "Search" (one thing I recall, if you want two windows, such as Project Explorer & Properties, "stacked" vertically, the easiest way to do it is, detach both windows so they are "floating", stack while floating, then drag to the border where you want them docked. If you want the official party line from Microsoft, see these MSDN Library topics:

    MSDN -Visual Basic 6.0 - Elements of the Integrated Development Environment

    MSDN -Visual Basic 6.0 - IDE Environment Options

    The second topic notes that you have the option of selecting an SDI or MDI Interface for the IDE, and how this setting affects docking of windows in the IDE, etc.

    HTH

  4. #4
    Bronze Lounger
    Join Date
    Nov 2001
    Location
    Arlington, Virginia, USA
    Posts
    1,394
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Re: Reset Layout (VB6)

    PS - If adventurous, in the "Don't Try This At Home" category (tho' I had to because I don't have VB at work), you can always open REGEDIT (or other Registry editor), browse to the "HKEY_CURRENT_USERSoftwareMicrosoftVisual Basic6.0" key, and delete the large Binary value named "Dock", which, as name implies, apparently is where your VB IDE windows size/position/docking settings are saved from session to session. As "experiment", I opened VB 6.0, created new project, closed all IDE windows except "Form1", then saved project & exited VB. Opened my Reg editor (RegHance), and ONLY after BACKING UP HKCU "Visual Basic" key, went ahead & deleted VB 6.0 "Dock" key. Reopened VB 6.0. The VB IDE settings had reverted to what apparently is the default (at least on my system) when you first install VB: Toolbox docked to left of main VBE window; and Project Explorer, Properties, and Form Layout windows stacked vertically and docked to right side of main VBE window (MDI apparently is also the default). After closing VB, refreshed Registry, and saw that a new "Dock" value had been created under same key as specified above.

    So you can try this approach if all else fails. And not to be repetitive or redundant, as always BACK UP Registry key in question before performing any rocket science "experiments".

    HTH

  5. #5
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Reset Layout (VB6)

    stack while floating,

    Thanks all, this did the trick.

    Funny how a little thing like this throws us off the comfort zone. !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •