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

VB.NET png Icon transperency not working as intended

9
Hey guys, I am at work with a few minutes so I appogize for not having any code handy, hopefully this is a simple enough question that I don't need the code, but if I do I will gladly post it when I get home in a few hours.

My question is this: I am trying to add Icons to a Listview, the icon files are in png format, adding the icon is not seemingly the issue. I am having problem with transarent backgrounds. When editing the png file with my image editor, or previewing the image in any preview program all the transarencies work great. When I add then to the ImageList, and then to the ListView, only some of the background is transarent. This leaves most of the image covered in a dark blob.

Do I need to convert the image to another format and select a transarent color, or is there a common fix for this. Again if you need to see my simple test code I am using to figure this out i will gladdly post it.

Thanks
Oct 3 '07 #1
2 1717
RedSon
5,000 Expert 4TB
Have you tried using the icon editor that comes with Visual Studio? it could be that the transparency "color" is off by a little when you port from your image editing software back to you application.
Oct 3 '07 #2
Tenowg
9
I will give this a shot and see what happens, thanks
Oct 3 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to...
0
by: Mike Cooper | last post by:
Hi all, I am attempting to deploy a vb.net application. That is working fine. I also configured the installer so shortcuts for the application would appear on the desktop and the user program...
3
by: Kendall Gifford | last post by:
Greetings. While trying to get a simple app working, I've been forced to delve into embedded and/or linked resources a bit. I read all the reference for the System.Resources namespace as well as...
1
by: harsid21 | last post by:
Hi All, I need a help on this issue. I use a combobox to select colors in HTML. But when i move mouse over it as a default property of combobox the option on which my mouse pointer changes...
5
by: =?Utf-8?B?cHJvZ2dlcg==?= | last post by:
I've written an application that can minimize to the tray and can reappear if you double click on the icon in the tray (ShowInTaskbar is set to false). I've also created a ContextMenuStrip (Visual...
2
by: Rainer Queck | last post by:
Hello NG, what are the right dimensions for a window icon, used on a mdi child window? My Problem: I used a third party Icon-Designer to design some icons for my application. Those icons look...
0
by: Shekh | last post by:
Hi - I am trying to set the transperency of an icon, based on certain conditions. Essentially I am trying to achieve the "disabled" icon look. I was able to find code that is supposed to achieve this...
1
by: =?Utf-8?B?U3RldmVU?= | last post by:
I have a structure that contains both 32x32 and 16x16 icons plus some text. I want to write all this to an XML file so that I can recover the icons later in an application. Can someone tell me how...
15
by: Anne | last post by:
Hi, Is it possible to change the startup-icon of a .mde-file? I know I can change it in a shortcutfile, but I want it also be changed in the .mde-file. Thanks in advance
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...
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.