|
Option Explicit
Public Sub Access() Dim A As Long A = Shell("rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5") End Sub Public Sub HardWare() Dim B As Long B = Shell("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1") End Sub Public Sub AddPrinter() Dim C As Long C = Shell("rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter") End Sub Public Sub Uninstall() Dim D As Long D = Shell("rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1") End Sub Public Sub WindowsSetUp() Dim E As Long E = Shell("rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2") End Sub Public Sub ShortCut() Dim F As Long F = Shell("rundll32.exe apwiz.cpl,NewLinkHere %1") End Sub Public Sub DateTime() Dim G As Long G = Shell("rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0") End Sub Public Sub DUN() Dim H As Long H = Shell("rundll32.exe rnaui.dll,RnaWizard") End Sub Public Sub Display() Dim I As Long I = Shell("rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0") End Sub Public Sub Font() Dim J As Long J = Shell("rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL FontsFolder ") End Sub Public Sub FormatFloppy() Dim K As Long K = Shell("rundll32.exe shell32.dll,SHFormatDrive") End Sub Public Sub Modem() Dim L As Long L = Shell("rundll32.exe shell32.dll,Control_RunDLL modem.cpl,,add") End Sub Public Sub Sound() Dim M As Long M = Shell("rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0") End Sub Public Sub NetWork() Dim N As Long N = Shell("rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl") End Sub Public Sub System() Dim O As Long O = Shell("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0") End Sub Public Sub Restart() Dim P As Long P = Shell("rundll32.exe user.exe,restartwindows") End Sub Public Sub ShutDown() Dim Q As Long Q = Shell("rundll32.exe user.exe,exitwindows") End Sub Public Sub Control() Dim rc As Long rc = Shell("Control.exe", vbNormalFocus) End Sub 'Make the same calls as above in the example CP.Access '- or - CP.HardWare '- or - CP.AddPrinter '- or - 'Etc... Etc... |