Results 1 to 5 of 5

Thread: [RESOLVED]Shell System Properties

  1. #1

    Thread Starter
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    [RESOLVED]Shell System Properties

    Currently in the process of creating a shell tool.
    and I'm trying to mimic the right click on 'My Computer'

    I cannot find any reference to shelling 'System Properties'
    any ideas?


    I've been able to manage the first 3 main context's of the menu for those interested in them

    VB Code:
    1. Select Case PopMenu("Explore;Search;Manage;Properties", 0, 0)
    2.         Case 65535:
    3.         Dim sGuid2 As String
    4.             sGuid2 = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
    5.             ShellExecute Me.hwnd, vbNullString, sGuid2, vbNullString, vbNullString, SW_MAX
    6.        
    7.         Case 65534:
    8.         Dim sGuid3 As String
    9.             sGuid3 = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
    10.             ShellExecute Me.hwnd, "find", sGuid3, vbNullString, vbNullString, SW_MAX
    11.         Case 65533:
    12.         Dim sGuid4 As String
    13.         Dim wPath As String, strSave As String
    14.             strSave = String(200, Chr$(0))
    15.             wPath = Left$(strSave, GetWindowsDirectory(strSave, Len(strSave)))
    16.             wPath = wPath & "\system32\compmgmt.msc "
    17.             ShellExecute Me.hwnd, vbNullString, wPath, vbNullString, vbNullString, SW_MAX
    18. End Select
    Last edited by TokersBall_CDXX; Jan 13th, 2005 at 01:16 AM. Reason: Resolved
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Shell System Properties

    You mean like winmsd?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    Re: Shell System Properties

    Quote Originally Posted by RobDog888
    You mean like winmsd?
    nah that would be system info 32

    what I'm after is the system properties


    Start-> Settings-> Control Panel--> System
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Shell System Properties

    I remember there is a way to shell out control panel appletts using the rundll32.dll
    with the appropriate .cpl file. Try a search for that and I know you will find it.

    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    Re: [RESOLVED]Shell System Properties

    for those interested

    VB Code:
    1. Dim wPath2 As String, strSave2 As String
    2. strSave2 = String(200, Chr$(0))
    3. wPath2 = Left$(strSave2, GetWindowsDirectory(strSave2, Len(strSave2)))
    4. wPath2 = wPath2 & "\system32\rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0"
    5. Shell wPath2

    is how to shell system properties.


    Thanx.
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

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