VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Access all aspects of your control panel from VB

by Sparq (34 Submissions)
Category: Windows System Services
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

Access all different aspects of your control panel (Add/Remove Programs, Mouse Control, etc..).

Rate Access all aspects of your control panel from VB

  Control Panel           module:  CONTROL.EXE           command:  rundll32.exe shell32.dll,Control_RunDLL   result:  displays all the Control Panel icons in an Explorer view                  
     Accessibility Properties           module:  ACCESS.CPL           command:  rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5   result:  displays the Accessibility General properties           command:  rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1   result:  displays the Accessibility Keyboard properties           command:  rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2   result:  displays the Accessibility Sound properties           command:  rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3   result:  displays the Accessibility Display properties           command:  rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4   result:  displays the Accessibility Mouse properties          
     Add New Hardware Wizard           module:  SYSDM.CPL           command:  rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1   result:  runs the Add New Hardware wizard           
     Add New Printer Wizard           module:  SHELL32.DLL           command:  rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter   result:  runs the Add New Printer wizard           comments:  Windows NT, it is possible to bring up a predefined Windows Dialog box for
            connecting to a network printer - the ConnectToPrinterDlg API. However, this dialog is not accessible by Visual Basic programs
            running under Windows 95. Therefore, you must use a Command line equivalent statement to invoke the "Add Printer
            Wizard" under Windows 95 as detailed above. (KB article Q154007)           
     Add/Remove Programs Property Page           module:  APPWIZ.CPL           command:  rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1   result:  displays the Install/Uninstall tab selected           command:  rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2   result:  displays the Windows Setup tab selected           command:  rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3   result:  displays the Startup Disk tab selected                Briefcase           module:  SYNCUI.DLL           command:  rundll32.exe syncui.dll,Briefcase_Create   result:  Creates a new Briefcase on the desktop                Copy Disk Dialog           module:  DISKCOPY.DLL           command:  rundll32.exe diskcopy.dll,DiskCopyRunDll   result:  displays the Copy Disk dialog for removable media                Create New Shortcut           module:  APPWIZ.CPL           command:  rundll32.exe apwiz.cpl,NewLinkHere %1   result:  Displays the Create New Shortcut dialog. Completing the filename in the dialog creates a
            shortcut at the location specified by %1          

Download this snippet    Add to My Saved Code

Access all aspects of your control panel from VB Comments

No comments have been posted about Access all aspects of your control panel from VB. Why not be the first to post a comment about Access all aspects of your control panel from VB.

Post your comment

Subject:
Message:
0/1000 characters


Active Server Pages
Coding Standards
Complete Applications
Custom Controls/Forms/Menus
Data Structures
Databases/Data Access/DAO/ADO
DDE
Debugging and Error Handling
DirectX
Encryption
Files/File Controls/Input/Output
Games
Graphics
Internet/HTML
Jokes/Humor
Libraries
Math/Dates
Microsoft Office Apps/VBA
Miscellaneous
Object Oriented Programming (OOP)
OLE/COM/DCOM/Active-X
Registry
Sound/MP3
String Manipulation
VB function enhancement
Windows API Call/Explanation
Windows CE
Windows System Services

Difficulty

Beginner
Intermediate
Advanced
Unknown Difficulty