473,386 Members | 1,803 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,386 software developers and data experts.

Form Icon

I am new to the .Net but not new to VB, but I am having problems with the
form icon. I made an icon file using VS.Net 2003 and then added it to my
form. The icon shows in the properties, but not on the form. If I use an
old icon it works fine. Is there something that Ishould know about this?

TIA
Nov 20 '05 #1
6 2845
Project Properties -> Build

Set the Application Icon to your custom icon.
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"Lespaul36" <le*******@none.net> wrote in message
news:uf**************@TK2MSFTNGP12.phx.gbl...
I am new to the .Net but not new to VB, but I am having problems with the
form icon. I made an icon file using VS.Net 2003 and then added it to my
form. The icon shows in the properties, but not on the form. If I use an
old icon it works fine. Is there something that Ishould know about this?

TIA

Nov 20 '05 #2
* "Lespaul36" <le*******@none.net> scripsit:
I am new to the .Net but not new to VB, but I am having problems with the
form icon. I made an icon file using VS.Net 2003 and then added it to my
form. The icon shows in the properties, but not on the form. If I use an
old icon it works fine. Is there something that Ishould know about this?


So, the icon doesn't show up in the title bar or in the Alt+Tab dialog?

What icon types did you add to your icon file (size, color depth)?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
I wasn't getting an icon in either. I reduced the depth and now I have it
on my form. But, I don't have it in the Alt+Tab.

I have 3 copies of the icon
32x32 at 16
32x32 at 256
16x16 at 16

Thanks.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OX**************@TK2MSFTNGP09.phx.gbl...
* "Lespaul36" <le*******@none.net> scripsit:
I am new to the .Net but not new to VB, but I am having problems with the form icon. I made an icon file using VS.Net 2003 and then added it to my form. The icon shows in the properties, but not on the form. If I use an old icon it works fine. Is there something that Ishould know about
this?
So, the icon doesn't show up in the title bar or in the Alt+Tab dialog?

What icon types did you add to your icon file (size, color depth)?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #4
* "Lespaul36" <le*******@none.net> scripsit:
I wasn't getting an icon in either. I reduced the depth and now I have it
on my form. But, I don't have it in the Alt+Tab.

I have 3 copies of the icon
32x32 at 16
32x32 at 256
16x16 at 16


That should be OK. Maybe it's the order in which the icons have been
added to the file that causes the problem, but I am not sure about that.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
Well, I deleted the icons and redid them as 32x32 at 16 and 16x16 at 16. Now
it works fine.
Thanks.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
* "Lespaul36" <le*******@none.net> scripsit:
I wasn't getting an icon in either. I reduced the depth and now I have it on my form. But, I don't have it in the Alt+Tab.

I have 3 copies of the icon
32x32 at 16
32x32 at 256
16x16 at 16


That should be OK. Maybe it's the order in which the icons have been
added to the file that causes the problem, but I am not sure about that.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #6
* "Lespaul36" <le*******@none.net> scripsit:
Well, I deleted the icons and redid them as 32x32 at 16 and 16x16 at 16. Now
it works fine.


Thank you for confirming that.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7

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

Similar topics

2
by: Vic | last post by:
I am trying to change an icon associated with my application's main form and the application itself. 1. I selected my main form in IDE "Solution" tab and went to "Properties" window. 2. I found...
4
by: Dan Sikorsky | last post by:
How do you set the this.Icon property of a windows form to the App.ico file specified in the Project Properties? I don't want to type in the path and filename; I want to set the form's icon...
7
by: Danielb | last post by:
I want my application to run most of the time as just an notify icon visible in the system tray, with some dialogs windows that open if the user selects an option from the context menu on the tray...
3
by: QLD_AU | last post by:
Is their a way in a VB.Net application to set all sub form icons to the main form ? or even set all icons to the Application icon, without having to reference the icon as a filename ? With...
1
by: Thief_ | last post by:
I have two projects in one solution: a.. Outlook Monitor b.. Tray Notification Both contain a form called "Form1.vb". How do I reference "Outlook Monitor"'s Form1 from "Tray Notification"'s...
3
by: Nina | last post by:
Hi there, I assigned icon for a window's form using form's Icon property at design time. Now I want to change the icon. I tried to replace the old icon with the new icon using form's Icon...
5
by: Tom | last post by:
I have a main VB.NET application that loads another VB.NET DLL dynamically. Once I have done that, I would like to be able to 'get' the icon of a form in that dynamically loaded DLL. How would...
3
by: Raj Wall | last post by:
Hi, I have an application which, when running, is to be seen only in the system tray as a right-clickable icon. However I want the main Form window itself to immediately disappear without...
2
by: \(O\)enone | last post by:
I wish to be able to copy a form's icon into a picturebox, in a similar way to how the Windows Taskbar copies each form's icon into each of its task panels. I can easily read out the icon of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.