appSettings configuration section error

G

Guest

I have a form (frmHelp) with a helpProvider on it. I have set the keyword for
the text box on this form as dynamic (frmHelp.textBox1.HelpKeyword). I
created a inherited form from frmHelp called frmInherited. When I try to open
this new form in design mode, I get the following error:
An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:

An exception occurred while trying to create an instance of
DynamicHelp.frmHelp. The exception was "The key
'frmHelp.textBox1.HelpKeyword' does not exist in the appSettings
configuration section."

The key does exist in the app.config file. I check multiple times. What am I
doing wrong?

Thanks,
Susan
 
G

Guest

hi,
this may not what you want. But i need to know one thing. Whether you are
using any key name in your application which is not in app.config file.
some declaration you have to explicitly need to do after inheriting.

if it is possible send me you code.
 
G

Guest

Hi Susan,

Can you give me any information on where you found out that you can't
inherit from a form with dynamic properties and what your solution was? I'm
running into the exact same problem in almost the same way, however, I am
able to build and run the application. I'm just not able to see the derived
form in design mode.

Thanks,

Carlo.
 

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