Results 1 to 3 of 3

Thread: Docking problem in VB6's VBE

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2022
    Posts
    3

    Docking problem in VB6's VBE

    On computer A below, I just can't get my Locals and Immediate windows to dock side by side (as they were before I accidently moved them). I can only get them to dock one above the other. I've tried the usual method (dragging them down until a grey outline of a vertical rectangle appears then releasing the mouse button).
    On computer B below they are correctly docked.
    Any ideas? Maybe a registry modification?

    Computer A on the left, Computer B on the right

    Name:  Computer A.jpg
Views: 163
Size:  48.1 KB Name:  Computer B.jpg
Views: 134
Size:  26.6 KB

  2. #2
    Banned
    Join Date
    May 2020
    Location
    https://t.me/pump_upp
    Posts
    42

    Re: Docking problem in VB6's VBE

    I use Windows10x64 using the following code Please try it and see if it works

    Code:
    Function DelRegValue(ByVal sKey As String, ByVal ValName As String)
        CreateObject("WScript.Shell").Run "cmd /c reg delete """ & sKey & """ /v """ & ValName & """ /f", 0, True
    End Function
    
    Sub Test()
        Dim sKey As String, ValName As String
        Dim VBE As String, Menu As String
        sKey = "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Visual Basic\6.0"
        Menu = "UI"
        VBE = "Dock"
        DelRegValue sKey, Menu
        DelRegValue sKey, VBE
    End Sub

  3. #3
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,121

    Re: Docking problem in VB6's VBE

    Quote Originally Posted by richard62 View Post
    Any ideas? Maybe a registry modification?
    You can drag windows in IDE while holding Ctrl key so they don't dock at all and always remain floating no matter where your mouse points underneath.

    You don't need registry modification, just try to dock them in reverse order first.

    Use double-click on the window caption to undock it quickly and swap positions by redocking only one of the windows.

    cheers,
    </wqw>

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