Proxy Settings UI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was wondering if there is a way to bring up the LAN connection settings
dialog directly. If I use rundll32 inetcpl.cpl LaunchConnectionDialog I get
the overall connection dialog and need the user to press the LAN settings
button. I don't really want to give my users access to everything else in
the Internet configuration dialog though.

I know I can set the proxy info in the registry but I hate to reinvent
perfectly good UI.
 
John,

I don't think you can find such call to inetcpl.cpl.

If you analyze the inetcpl.cpl export you will notice that only functions to launch some dialogs of the applet are:
DisplayPopupWindowManagementDialog
LaunchSecurityDialog
LaunchSiteCertDialog
LaunchConnectionDialog
LaunchInternetControlPanel
LaunchSecurityDialog[Ex]
OpenFontsDialog[Ex]
OpenLanguageDialog

These names speak for themselves but you can try them all just for fun :-).
But obviously, nothing LAN Settings related :-(

However, you can definitely develop your own GUI to set up these settings. You can either change appropriate registry entries from
the app code, or use netwokr/Internet settings APIs.
 
Back
Top