|
-
Jan 13th, 2005, 12:54 AM
#1
Thread Starter
Fanatic Member
[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:
Select Case PopMenu("Explore;Search;Manage;Properties", 0, 0)
Case 65535:
Dim sGuid2 As String
sGuid2 = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
ShellExecute Me.hwnd, vbNullString, sGuid2, vbNullString, vbNullString, SW_MAX
Case 65534:
Dim sGuid3 As String
sGuid3 = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
ShellExecute Me.hwnd, "find", sGuid3, vbNullString, vbNullString, SW_MAX
Case 65533:
Dim sGuid4 As String
Dim wPath As String, strSave As String
strSave = String(200, Chr$(0))
wPath = Left$(strSave, GetWindowsDirectory(strSave, Len(strSave)))
wPath = wPath & "\system32\compmgmt.msc "
ShellExecute Me.hwnd, vbNullString, wPath, vbNullString, vbNullString, SW_MAX
End Select
Last edited by TokersBall_CDXX; Jan 13th, 2005 at 01:16 AM.
Reason: Resolved
-
Jan 13th, 2005, 01:04 AM
#2
Re: Shell System Properties
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jan 13th, 2005, 01:14 AM
#3
Thread Starter
Fanatic Member
Re: Shell System Properties
 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
-
Jan 13th, 2005, 01:16 AM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jan 13th, 2005, 01:16 AM
#5
Thread Starter
Fanatic Member
Re: [RESOLVED]Shell System Properties
for those interested
VB Code:
Dim wPath2 As String, strSave2 As String
strSave2 = String(200, Chr$(0))
wPath2 = Left$(strSave2, GetWindowsDirectory(strSave2, Len(strSave2)))
wPath2 = wPath2 & "\system32\rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0"
Shell wPath2
is how to shell system properties.
Thanx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|