Hello, i hope any body can help me ;-) i develop a Visual Studio Add-in in C# and i work with Visual Studio 2005 and 2008. In Visua Studio 2005 i hafe createt a custom ToolWindow with the Method Windows2.CreateToolWindow2, After creating the ToolWindow and before i set the ToolWindow to visible = true, i set the tab picture with a 24-bit 16x16 Bitmap. In Visual Studio 2005 it will works fine but in VS20008 the method Window2.SetTabPicture throw a Argument Exception with the message "Value does not fall within the expected range". I know, the background color for the Bitmap in Visual Studio 2008 to 0,254,0 is different than Visual Studio 2005. But it will not work, in Visual Studio 2008. is this a bug in Visual Studio 2008 Beta2? Many thanks for all help!!! Thomas Mueller (www.tom-mue.de)
May be. http://www.alvas.net - Audio tools for C# and VB.Net developers "TOM_MUE" <u39126@uwe> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:7b4c363038286@uwe... > Hello, > > i hope any body can help me ;-) > > i develop a Visual Studio Add-in in C# and i work with Visual Studio 2005 > and > 2008. In Visua Studio 2005 i hafe createt a custom ToolWindow with the > Method > Windows2.CreateToolWindow2, After creating the ToolWindow and before i set > the ToolWindow to visible = true, i set the tab picture with a 24-bit > 16x16 > Bitmap. In Visual Studio 2005 it will works fine but in VS20008 the method > Window2.SetTabPicture throw a Argument Exception with the message "Value > does > not fall within the expected range". > > I know, the background color for the Bitmap in Visual Studio 2008 to > 0,254,0 > is different than Visual Studio 2005. But it will not work, in Visual > Studio > 2008. > > is this a bug in Visual Studio 2008 Beta2? > > Many thanks for all help!!! > > Thomas Mueller (www.tom-mue.de) >