Automation - CPL files

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

Guest

Hi,

I'd like to develop a winform to launch CPL (control panel file) file and
set some values on it.

For example, %windir%\system32\inetcpl.cpl file (this file brings up IE
"Internet Options" dialog) and I'd like to set some values on the dialog,
e.g. "home page address" on the "General" tab, "customs level" on "security"
tab, edit "web sites" list on "privacy" tab, etc. etc. etc.

Is it doable in C#? If yes, how to? If no, any other way to approach this?

Please advice, thanks!
-P
 
For example, %windir%\system32\inetcpl.cpl file (this file brings up IE
"Internet Options" dialog) and I'd like to set some values on the dialog,
e.g. "home page address" on the "General" tab, "customs level" on
"security"
tab, edit "web sites" list on "privacy" tab, etc. etc. etc.

Is it doable in C#? If yes, how to? If no, any other way to approach
this?

Please advice, thanks!

did you try the shell:

Process.Start( "....\inetcpl.cpl" );

Wiktor Zychla
 
I know how to launch it, but don't know how to set some settings on the
dialog itself.
 
I know how to launch it, but don't know how to set some settings on the
dialog itself.

I am sorry for misunderstanding of your problem.

Anyway, I think this is not the right way to call a window and
programmatically manipulate its interface. I suggest you'd rather search for
the place where system stores this information (for example, the registry)
and update it there.

Wiktor Zychla
 
Back
Top