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

How to include a icon in a Assembly?

Hello all,
I build a Custom Web Control and now, i want to include a icon in my
assembly.
How i make this?

Thanks
Dexter
Nov 18 '05 #1
2 1006
Add the image to the project and set the Build Action propert of the image
to "Embedded Resource".

"Dexter" <pr******@yahoo.com.br> wrote in message
news:em****************@TK2MSFTNGP11.phx.gbl...
Hello all,
I build a Custom Web Control and now, i want to include a icon in my
assembly.
How i make this?

Thanks
Dexter

Nov 18 '05 #2
> Add the image to the project and set the Build Action propert of the image
to "Embedded Resource".

What is the difference between setting this to Embedded Resource and
Content? I think that's the one I saw when I was including PDFs for my
webpage to be copied as part of the web app.

Thanks.
Nov 18 '05 #3

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

Similar topics

8
by: Adrian | last post by:
How do I put an icon on a form using code? Thank you.
1
by: Brian Henry | last post by:
I have an icon in my app as an embeded resource.. i am accessing it through the assemblies getmainfestresourcestream method of the assembly. The icon has a 32x32 and a 16x16 icon in the same icon...
5
by: Gidi | last post by:
Hi, I want to add icon to my form (on the left corner of the form, where the fom text is), but i can't use the property window. how can i do it through the code? my Icon path now is d:\temp....
2
by: Amjad | last post by:
Hi, I'm using the NotifyIcon to process some text files in the background periodically. I want to display one icon in the task bar when the program is in stand by mode, and I want to display...
15
by: kurt sune | last post by:
Anybody has a tip of where to find info/example how to retrieve an icon from a .RESX-file? /k
11
by: Garrett | last post by:
I'm fairly new to VB .NET and programming in general, and I want to give my program its own icon without it being a separate file. I have the icon as part of the project, and its Build Action is...
2
by: Pippo | last post by:
I've created a c# dll with some classes and i've included some icons that i can see with ILDASM like namespace.iconfile.ico I re-use this dll (dll reference) and relative classes in many vb...
6
by: Lou | last post by:
How do i get an icon from a resourse file Dim IC As New Icon(Icon, "mnu_file_open") That doesn't work?
3
by: jmbernz | last post by:
I really need help with this one, I'm trying to set the app icon during run time. There is no problem when the app is not group together, it still have the set icon but when group together if you...
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:
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
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?
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
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,...
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.