By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,035 Members | 1,543 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,035 IT Pros & Developers. It's quick & easy.

Application class and assembly properties

P: n/a
Hi all,

I have a simple Form app and I am trying to use the
Application::UserAppDataRegistry object to persist UI settings to the
registry. But when I create the object like this:

RegistryKey * m_Registry = Application::UserAppDataRegistry;

the key that is created is missing the AssemblyCompanyAttribute,
AssemblyProductAttribute and AssemblyVersionAttribute that I have
specified in the assembly file like this:


In fact, no matter what I put in these assembly attributes, the
corresponding properties in the Application object are empty. So with
the above entries, doing this:

String * str = Application::CompanyName;

yeilds an empty string. So the obvious question is what am I doing


Mar 14 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.