473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

App.ico difficulties, am i missing a gotcha?

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?
Jul 21 '05 #1
1 2060
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?

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Frank Bechmann | last post by:
Eventually most of you will not learn much from this because it's just another event in the 'default argument value gotcha' series, but because it cost me some hours yesterday to spot this 'error'...
2
by: brolewis | last post by:
I am trying to deploy Python onto a number of laptops and have been trying to take advantage of Python 2.4's MSI installer. I have tried using the following commands to install, but to no avail: ...
1
by: frizzle | last post by:
Hi there, I had another topic about this problem, and i thought i figured it out, but i didn't :( I tested inserting the following text: '"\ (single quote, double quote, backslash) ...
11
by: truckaxle | last post by:
I am trying to pass a slice from a larger 2-dimensional array to a function that will work on a smaller region of the array space. The code below is a distillation of what I am trying to...
15
by: PagCal | last post by:
Is this language missing the functionality of a C/C++ 'continue' statement? For example: While NOT isEof() If condition ' a C or C++ continue would work here ' but we are forced to use a...
1
by: Ben | last post by:
I removed VS 2003 and all SDKs. I installed VS 2005. My problem: The Windows XP Bluetooth API appears to be missing in VS 2005. I re-installed the April 2005 SDK. My new problem:...
1
by: Rob Meade | last post by:
Hi all, My web app is using a layered design, whereby I have UI/BOL/DAL layers.... So far things have been running fine and as the first app using this approach I've seen some real benefits......
0
by: Yin99 | last post by:
Do the TableAdapters have any limitations, gotcha's, or anything that may bite ya in the rear down the road? I'm looking for lessons learned and/or past experience. I'm starting a new...
8
by: +mrcakey | last post by:
I understand that register_globals was turned off by default as, unless you initialised it, it could be altered by a malicious coder. What I don't understand is how the $_POST form is any more...
0
by: Just_a_fan | last post by:
I am so happy about this I had to tell someone and since no one at the house even knows how to spell VB, I just had to make a short post. I finally got my little program to correctly do a second...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.