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

Form Icon (VC++.NET 2003)

P: n/a
Hello All,

In Windows Form Application (VC++.NET 2003)

I am having problems adding a icon to a form or a NotifyIcon control (
this->Icon = (__try_cast<System::Drawing::Icon *
>(resources->GetObject(S"$this.Icon")));)

I click the form, click the icon in the properties window, locate the ico
'app.ico'. Now, I build the project which is fine. Then when the application
runs it creates an error:

An unhandled exception of type
'System.Resources.MissingManifestResourceException ' occurred in mscorlib.dll

Additional information: Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given assembly. Make sure
"frmMain.resources" was correctly embedded or linked into assembly
"MyProgram".
baseName: frmMain locationInfo: MyProgram.frmMain resource file name:
frmMain.resources assembly: MyProgram, Version=1.0.2634.32393,
Culture=neutral, PublicKeyToken=null

Any help would be appreciated

--
Newbie Coder
(It's just a name)
Mar 19 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.