473,785 Members | 2,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

transparent icon

G'day

Any tips on how to make a transparent icon for a vb.net application.
I'm using Visual Studio 2005.

Thanks
Oct 13 '07 #1
1 2070
I don't know what you mean by a transparent icon. To add an icon to your
project, you right click the project, and select add new item. One of the
choices is "icon". When you double click this, you will be in an icon editor
to customize it. I normally change the "Build Action" property for this icon
to "Embedded Resource". You can then get it within your code with a call to
System.Reflecti on.Assembly.Get Assembly().GetM anifestResource Stream (fn),
where fn is similar to projectname.ico n1.ico.

Hope that helps somewhat.

"keith.hutchiso n" wrote:
G'day

Any tips on how to make a transparent icon for a vb.net application.
I'm using Visual Studio 2005.

Thanks
Oct 13 '07 #2

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

Similar topics

3
496
by: Martin Reikenkamp | last post by:
I'd like to use a transparent icon in a ms access form. The icon looks good (transparency) when I use the Windows XP-style. But when I switch the preferences of the Windows & Buttons-settings to Windows - classic I see a light gray background behind the icon. What do I have to do when I would like to use the icon in both environments?
0
2790
by: Ziver | last post by:
Hello, I used the utility "Easy Icon Maker" and created a transparent icon for my Outlook button. When i view it from the windows explorer i see as transparent but if i execute my add-in that puts my button on the bar i see my icon having a blue background on my button.
2
19487
by: Peter Steele | last post by:
Visual Studio provides an icon editor but I can't figure out how to create a transparent icon. My app always shows the full 32x32 square, with a wide background instead of a transparent one. How do I get it to look transparent?
0
1345
by: Josch | last post by:
I have here a specific problem with ASP.NET in C#. I want to convert an Icon (System.Drawing.Icon icon) to a GIF-Image. First, my attempt was converting the icon to a Bitmap: Bitmap bmp = icon.ToBitmap(); Then save this Bitmap as a GIF-Image: bmp.Save("mypic.gif",ImageFormat.Gif);
8
5634
by: Dennis | last post by:
How can I find the transparent color in an Icon and convert it into a Color type in VB.Net 2003? I want to convert it into a bitmap with the same color transparent. I know that I can convert it to a bitmap then read the color of the pixel at 0,0 then make that color transparent in the bitmap but this doesn't work on icons that have other than the transparent color in the 0,0 pixel position. -- Dennis in Houston
0
1634
by: FredC | last post by:
I'm using VS C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a picture box set to an icon. The control does nothing except show the icon. In the main windows form, on formload event, I declare and instantiate 30 user controls and give them various locations on the main form. The Problem(s):
1
3088
by: FredC | last post by:
I'm using VS 2003, C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a picture box set to an icon. The UserControl constructor sets SetStyle( ControlStyles.SupportTransparentBackColor, true); this.BackColor = Color.Transparent; The control does nothing except display the icon.
2
3756
by: Lee | last post by:
Hi, I have a notify icon and have been trying to make the background color transparent. But do .ico files allow a transparent color? when i select the image for the notify icon it askes for type .ico. now i know i can set a transparent background with png's ect, but can i use tranparent (colors) with an ico? thanks
2
1116
by: Eng Teng | last post by:
How do I create a transparent form which allow me to click icon behind the transparent form on desktop. Regards, Tee
0
9647
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9489
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10357
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10162
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.