Visual Basic System Services
Adding Control Panel Functions to a VB Application: G-J
     
Posted:   Friday September 17, 1999
Updated:   Monday December 26, 2011
     
Applies to:   VB4-32, VB5, VB6
Developed with:   VB4-32, Windows 95, VB6, Windows NT4
OS restrictions:   Win9x, NT4, 2000
Author:   VBnet - Randy Birch, Karl E. Peterson, Others (below)
     

Related:  

Rundll32: Control Panel Functions A-C
Rundll32: Control Panel Functions D-F
Rundll32: Control Panel Functions G-J
Rundll32: Control Panel Functions K-N
Rundll32: Control Panel Functions O-R
Rundll32: Control Panel Functions S-Z
     
 Below:   Game Controllers
HTML
Internet Explorer 4 Control Panel
Joystick Properties
  
 Prerequisites
  
None.

Game Controllers
   
module: JOY.CPL
   
command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl,,0
result: displays the Game Controllers General property page
   
command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl,,1
result: displays the Game Controllers Advanced property page
   

HTML
   
module: MSHTML.DLL
   
command: rundll32.exe mshtml.dll,PrintHTML (HTML doc to print)
result: sends the passed file to the printer
   
Thanks to Karl Grear for sending in this command
   

Internet Explorer 4 Control Panel
   
module: INETCPL.CPL
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl
result: displays Internet Properties, General Tab
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0
result: displays Internet Properties, General Tab (same as above)
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,1
result: displays Internet Properties, Security Tab
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,2
result: displays Internet Properties, Content Tab
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3
result: displays the Internet Control Panel, Connection Tab
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4
result: displays the Internet Control Panel, Programs Tab
   
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,5
result: displays the Internet Control Panel, Advanced Tab
   

Joystick Properties (also see Games)
   
module: JOY.CPL
   
command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl
result: displays the Joystick property page
   

 
 

PayPal Link
Make payments with PayPal - it's fast, free and secure!

 
 
 
 

Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved.
Terms of Use  |  Your Privacy

 

 

Hit Counter