Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Fri, 16 Nov 2007 12:09:55 GMT,    group: microsoft.public.vstudio.extensibility        back       


[C# Add-in] Window2.SetTabPicture throw ArgumentException in VS2008   
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)
date: Fri, 16 Nov 2007 12:09:55 GMT   author:   TOM_MUE u39126@uwe

Re: [C# Add-in] Window2.SetTabPicture throw ArgumentException in VS2008   
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)
>
date: Fri, 16 Nov 2007 20:05:02 +0200   author:   Alexander Vasilevsky

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us