472,954 Members | 2,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 2050
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.