Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control Panel/Display Settings 1

Status
Not open for further replies.

Boxster1987

Programmer
Aug 9, 2002
19
0
0
US
Is there a way to create a program that will access the Control Panel or the display settings?

Thanks
 
no but you can programatically show the control panel dialogs from vb



Dim RetVal
'internet options dialog...
RetVal = Shell("rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl", vbNormalFocus)

'display setting dialog...
RetVal = Shell("rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3", 1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top