Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / November 2007

Tip: Looking for answers? Try searching our database.

[C# Add-in] Window2.SetTabPicture throw ArgumentException in VS2008

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TOM_MUE - 16 Nov 2007 12:06 GMT
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)
Alexander Vasilevsky - 16 Nov 2007 18:05 GMT
May be.

http://www.alvas.net  - Audio tools for C# and VB.Net developers

> Hello,
>
[quoted text clipped - 23 lines]
>
> Thomas Mueller (www.tom-mue.de)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.