Results 1 to 4 of 4

Thread: Disable Start menu and My Computer in win9x? HELP PLZ

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Posts
    4

    Question Disable Start menu and My Computer in win9x? HELP PLZ

    Anyone know how to disable Start Menu and My Computer, so that Users can't have access, or unable to click on them?
    thnx

  2. #2
    Matthew Gates
    Guest
    This may be of some use:

    http://www.winguides.com/registry/display.php/905/

    You should check www.regedit.com for more as well.

  3. #3
    AutoBot
    Guest

    Post Try This

    'in a form

    Private Sub Command1_Click()

    Dim shelltraywnd As Long, button As Long
    shelltraywnd = FindWindow("shell_traywnd", vbNullString)
    button = FindWindowEx(shelltraywnd, 0&, "button", vbNullString)
    Call EnableWindow(button, 0)

    End Sub

    Private Sub Command2_Click()

    Dim shelltraywnd As Long, button As Long
    shelltraywnd = FindWindow("shell_traywnd", vbNullString)
    button = FindWindowEx(shelltraywnd, 0&, "button", vbNullString)
    Call EnableWindow(button, 1)

    End Sub


    'in a module


    Public Declare Function EnableWindow Lib "user32" (ByVal hwnd As Long, ByVal fEnable As Long) As Long
    Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Check out this other thread on the same subject:

    http://forums.vb-world.net/showthrea...hreadid=104795

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