Click here to Skip to main content
16,006,475 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralPropertyGrid - browsable attribute Pin
jbmeeh3-Mar-04 6:56
jbmeeh3-Mar-04 6:56 
GeneralRe: PropertyGrid - browsable attribute Pin
ian mariano3-Mar-04 10:54
ian mariano3-Mar-04 10:54 
Generalchart needed for .NET framework Pin
Patric_J2-Mar-04 5:59
Patric_J2-Mar-04 5:59 
GeneralRe: chart needed for .NET framework Pin
Marcie Jones3-Mar-04 3:44
Marcie Jones3-Mar-04 3:44 
GeneralClearing JIT buffer Pin
Yaron K.2-Mar-04 2:07
Yaron K.2-Mar-04 2:07 
GeneralRe: Clearing JIT buffer Pin
ian mariano4-Mar-04 11:22
ian mariano4-Mar-04 11:22 
General.Net listbox Pin
HCassidy1-Mar-04 10:14
HCassidy1-Mar-04 10:14 
GeneralMakeTransparent Pin
Member 1318591-Mar-04 8:33
Member 1318591-Mar-04 8:33 
Hi,

I'm struggling with some code:


Dim ico As New Icon("c:\copy.ico")
Dim bmp As Bitmap()
bmp = ico.ToBitmap
bmp.MakeTransparent(bmp.GetPixel(0, 15))
bmp.Save("c:\copy.gif", Imaging.ImageFormat.Gif)


the copy.ico is the standard icon from office with on the lower left (in vs.net) the color rgb: 0 128 128. I'm trying to set this color as transparent before converting it to a gif image. Unfortunately it always turns out to be a black backgroundcolor instead of transparent. When I leave the Imaging.ImageFormat.Gif the image has a color of grey (still not transparent) and it can't be opened with photoshop (it opens when I put the ImageFormat back to gif).

Does anyone have any experience with solving this problem?

Thx, Kris.
GeneralSQLState error 9999B, SQLCODE 999999800 Pin
Lola Copinga1-Mar-04 7:23
Lola Copinga1-Mar-04 7:23 
GeneralFullscreen / Windowed mode toggle Pin
Steve Messer28-Feb-04 20:37
Steve Messer28-Feb-04 20:37 
GeneralSingle Instance issue Pin
Steve Messer28-Feb-04 20:32
Steve Messer28-Feb-04 20:32 
GeneralImageFormat Pin
Jon Sagara27-Feb-04 22:14
Jon Sagara27-Feb-04 22:14 
GeneralRe: ImageFormat Pin
David Stone27-Feb-04 23:04
sitebuilderDavid Stone27-Feb-04 23:04 
GeneralRe: ImageFormat Pin
Jon Sagara28-Feb-04 7:47
Jon Sagara28-Feb-04 7:47 
GeneralRe: ImageFormat Pin
Stephane Rodriguez.2-Mar-04 6:35
Stephane Rodriguez.2-Mar-04 6:35 
GeneralDataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 1:00
Dan Bunea27-Feb-04 1:00 
GeneralRe: DataSet Clear() performance problem Pin
apferreira27-Feb-04 7:15
apferreira27-Feb-04 7:15 
GeneralRe: DataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 7:20
Dan Bunea27-Feb-04 7:20 
GeneralRe: DataSet Clear() performance problem Pin
apferreira27-Feb-04 7:33
apferreira27-Feb-04 7:33 
GeneralRe: DataSet Clear() performance problem Pin
Dan Bunea28-Feb-04 23:11
Dan Bunea28-Feb-04 23:11 
GeneralCalling a function in C++.NET Pin
benibo26-Feb-04 20:09
benibo26-Feb-04 20:09 
GeneralRe: Calling a function in C++.NET Pin
apferreira27-Feb-04 6:12
apferreira27-Feb-04 6:12 
GeneralRe: Calling a function in C++.NET Pin
benibo27-Feb-04 9:29
benibo27-Feb-04 9:29 
Generalusing .NET as a script engine Pin
Nailbite26-Feb-04 18:27
Nailbite26-Feb-04 18:27 
GeneralRe: using .NET as a script engine Pin
apferreira27-Feb-04 7:02
apferreira27-Feb-04 7:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.