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 / ASP.NET / Building Controls / April 2006

Tip: Looking for answers? Try searching our database.

Toolboxbitmap Attribute for custom control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
studen771 - 29 Apr 2006 21:25 GMT
THanks in advance to anyone who can help :)

The only way I'm able to add my custom 16x16 toolbarbitmap image is by using
the ToolbarBitmap constructor:
ToolbarBitmap(//path to imagefilename)

I'm unable to get it to display embedding it has a 'resource' in the
assembly the control's class is contained in (either by using 2 of the other
remaining constructors for the ToolbarBitmap class)

I'm using VS.Net 2005 and this is driving me crazy. I want to keep the image
as a resource within the assembly to keep everything self contained.

Anyone?
studen771 - 29 Apr 2006 23:21 GMT
Ha! I corrected the issue there was an issue with the bitmap file it was
using.

> THanks in advance to anyone who can help :)
>
[quoted text clipped - 10 lines]
>
> Anyone?

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



©2009 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.