Can we use app.config with an Excel add-in component?

G

Guest

I have built a .NET add-in component for Excel. I have coded everything
according to the example at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;313405

I don't get any errors, but no values get returned when I invoke:
sAttr = ConfigurationSettings.AppSettings()

I've tried using filenames other than app.config (i.e. MyComponent.config,
MyComponent.app.config) but nothing has worked. Is it even possible to use a
config file like this with a component such as mine? If so, any ideas as to
what I'm missing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top