Posted by
Joseph on
2/3/2005 8:22 AM |
Comments (0)
An interesting tip from Rob Gruen on showing 2 ways of launching the internet properties dialog from managed code:
http://weblogs.asp.net/robgruen/archive/2005/02/02/366038.aspx
I like the PInvoke way myself
[DllImport("inetcpl.cpl", SetLastError = true)]
public static extern int LaunchInternetControlPanel(IntPtr hWnd);
// Launch the IE internet properties as a modal dialog for this winform
LaunchInternetControlPanel(this.Handle);
I've heard that in framework 2.0 the networking stack will even support IE's “Automatically Detect Settings” mode, which should make network configuration and troubleshooting end user connectivity issues much easier.