![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Editing a .exe.config file with the class "ConfigurationManager" Hello I treat to build an application that modified the configuration file (.exe.config) of another application. I'm using the class ConfigurationManager but when I save the changes with Configuration.Save(...) method, the result file is completely disrupted, and haven’t the same structure. Please I'm really need help!!! |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Editing a .exe.config file with the class "ConfigurationManager" I just came across your post; I hope you have solved the problem by now. Anyway, I think you may want to use the overload Save method that enables you to specify how a configuration file must be saved. When you call this overload method you specify a ConfigurationSaveMode value that determines which property values to save. For more information see the documentation on MSDN at this location: http://msdn.microsoft.com/en-us/library/ms134088.aspx "ibel.groups@xxxxxx" wrote: Quote: > Hello > I treat to build an application that modified the configuration file > (.exe.config) of another application. > I'm using the class ConfigurationManager but when I save the changes > with Configuration.Save(...) method, the result file is completely > disrupted, and haven’t the same structure. > Please I'm really need help!!! > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| "Extensible Authentication Protocol" service gives "The system cannot find the file specified" error | Vista networking & sharing | |||
| How to config "local machine"-->"personal" access right? | Vista General | |||
| Changing "mailto" protocol via registry--no "clients" file under HKEY_USERS | Vista mail | |||
| Question About "autoexec.nt" and "config.nt" (in Vista) | Vista security | |||
| Question About "autoexec.nt" and "config.nt" (in Vista) | Vista General | |||