G
Gary McGill
I'm developing a COM add-in for Word & Excel, using C# and VS.NET 2003.
I need to store configuration data for my add-in somewhere, but I'm not sure
where to put it. I suppose I'm looking for the equivalent of app.config - an
XML configuration file would be ideal.
In case you're still wondering what's stopping me from using an XML
configuration file, my problem is: how does my add-in know where to look for
the file? Is there a convention for where the add-in itself will be stored?
Should I just put the config file in the same directory as the add-in DLL?
I'd much prefer to use a config file than the registry - I need to be able
to edit the file easily.
TIA,
Gary McGill
I need to store configuration data for my add-in somewhere, but I'm not sure
where to put it. I suppose I'm looking for the equivalent of app.config - an
XML configuration file would be ideal.
In case you're still wondering what's stopping me from using an XML
configuration file, my problem is: how does my add-in know where to look for
the file? Is there a convention for where the add-in itself will be stored?
Should I just put the config file in the same directory as the add-in DLL?
I'd much prefer to use a config file than the registry - I need to be able
to edit the file easily.
TIA,
Gary McGill