PC Review


Reply
Thread Tools Rate Thread

App.ico difficulties, am i missing a gotcha?

 
 
Kelly C
Guest
Posts: n/a
 
      18th Feb 2005
Alright, I'm trying to change my application icon without setting the icon
property of every form.

I've replaced the App.ico file in the project dir with a new icon. When i
compile and run my app the standard vs.net icon is displayed on both my main
mdi container form and on the button in my taskbar. I tried setting the
project Application Icon property to "App.ico" and ".\App.ico" and nothing
seems to work, whatever I do it still displays the default vs icon. The
only way I got it to actually display the icon i wanted was to go to the
main mdi containers properties and set it's icon property to my App.ico.

These doesn't seem right to me .. is there a better way?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?ZG90TmV0RGF2ZQ==?=
Guest
Posts: n/a
 
      18th Feb 2005
That is the way it works. Each Form gets it's own Icon because it's kept in
the Form's resource file. If you want it to be the same ass the application,
then you will have to set it at runtime.

David McCarter
www.vbtt.com

"Kelly C" wrote:

> Alright, I'm trying to change my application icon without setting the icon
> property of every form.
>
> I've replaced the App.ico file in the project dir with a new icon. When i
> compile and run my app the standard vs.net icon is displayed on both my main
> mdi container form and on the button in my taskbar. I tried setting the
> project Application Icon property to "App.ico" and ".\App.ico" and nothing
> seems to work, whatever I do it still displays the default vs icon. The
> only way I got it to actually display the icon i wanted was to go to the
> main mdi containers properties and set it's icon property to my App.ico.
>
> These doesn't seem right to me .. is there a better way?
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IIf Controlsource GOTCHA! Seb Thirlway Microsoft Access Reports 0 13th May 2004 01:46 PM
Gotcha IAmIronMan Microsoft ADO .NET 8 7th Jan 2004 10:07 PM
now i gotcha... Brandon Windows XP Help 0 28th Nov 2003 03:37 AM
Re: gotcha Martin Robins Microsoft Dot NET Framework 0 31st Aug 2003 01:40 PM
Re: gotcha George Hester Microsoft Dot NET Framework 3 29th Aug 2003 09:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:01 PM.