473,385 Members | 1,813 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.

Form Icon at Design Time

Is there any way to set the forms icon to one stored in the resources
at design time? Currently I am using the following code in the
FormLoad event to set it at run time:

Me.Icon = My.Resources.FormIcon

You can set images in resources to buttons and pictureboxes etc at
design time, why not icons?

Apr 16 '07 #1
2 1335
Can't you load the icon by adding it to your resources file, and then
access it?

Robin S.
--------------------------
"James Arnold" <ja****@gmail.comwrote in message
news:11**********************@b75g2000hsg.googlegr oups.com...
Is there any way to set the forms icon to one stored in the resources
at design time? Currently I am using the following code in the
FormLoad event to set it at run time:

Me.Icon = My.Resources.FormIcon

You can set images in resources to buttons and pictureboxes etc at
design time, why not icons?

Apr 17 '07 #2
On 17 Apr, 08:16, "RobinS" <Rob...@NoSpam.yah.nonewrote:
Can't you load the icon by adding it to your resources file, and then
access it?

Robin S.
--------------------------"James Arnold" <jar...@gmail.comwrote in message

news:11**********************@b75g2000hsg.googlegr oups.com...
Is there any way to set the forms icon to one stored in the resources
at design time? Currently I am using the following code in the
FormLoad event to set it at run time:
Me.Icon = My.Resources.FormIcon
You can set images in resources to buttons and pictureboxes etc at
design time, why not icons?
No, unlike with PictureBoxes and Buttons where you can select from the
list of current resources, when you click the "..." for the icon it
just shows a browse window to import an icon, which is saved in the
form's resx file and not the projects resources.

If you have an icon in the resources you can set it as the project
icon in the My Project tab, but not as the form icon.

Apr 19 '07 #3

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

Similar topics

8
by: Nhmiller | last post by:
How is that done? Thanks. Neil Cat Paintings At Carol Wilson Gallery http://www.carolwilsongallery.com
14
by: alwayshouston | last post by:
Hi All! I am working on this very small database and I am confused in the designing a simple form. I only have three tables in the database. First Table: tblExpense Columns: ExpenseID ;...
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...
2
by: Sakharam Phapale | last post by:
Hi All, Actually, I am showing the icon on MDI form. Hence, I don't want to show any type of icon (including default) on child form. I tried that but I could not able to delete the icon at...
2
by: Peter | last post by:
I have a base form from which many forms inherit. The base form is in one project, and the inherits form is in another project. Both projects are under the same solution space. Both forms...
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...
6
by: Ryan | last post by:
I have 2 forms, Form1.vb and Form2.vb. In Solution Explorer, Form2.vb no longer shows a Form icon nor do I have the option to open Form2.vb in the main explorer window where usually I have the...
3
by: Alan T | last post by:
I want to put an icon on a Windows Form top left hand corner but would like to hide the maximize and close box on the top right hand corner. Can I do that?
0
by: James Arnold | last post by:
Is it possible to set the form icon to the project icon at design time? I know you can choose an icon and embed it, but for each form the icon is embedded (resulting in a larger file size). I...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.