K
Kevin Lewis
Is there .NET framework code that I can call from an assembly (.dll), that
will load the settings of a configuration file into the .NET framework. For
example you can set up Switches and TraceListeners through config settings
such as:
<system.diagnostics>
<switches>
<add name="MySwitch" value="31" />
</switches>
<trace>
<listeners>
<add name="MyListener" type="Common.Listeners, Common" />
</listeners>
</trace>
</system.diagnostics>
but if I have code running as a Word addin there is no easy way to load them
through a config file because a Word addin does not have the usual
AppName.exe.config file that regular applications use.
Does anyone know how to do this?
Thanks in advance
Kevin
will load the settings of a configuration file into the .NET framework. For
example you can set up Switches and TraceListeners through config settings
such as:
<system.diagnostics>
<switches>
<add name="MySwitch" value="31" />
</switches>
<trace>
<listeners>
<add name="MyListener" type="Common.Listeners, Common" />
</listeners>
</trace>
</system.diagnostics>
but if I have code running as a Word addin there is no easy way to load them
through a config file because a Word addin does not have the usual
AppName.exe.config file that regular applications use.
Does anyone know how to do this?
Thanks in advance
Kevin