Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
AnswerRe: Image Pin
subai15-Jan-07 3:42
subai15-Jan-07 3:42 
QuestionHow to Download File Pin
prabhakaranns15-Jan-07 3:10
prabhakaranns15-Jan-07 3:10 
AnswerRe: How to Download File Pin
il_masacratore15-Jan-07 3:26
il_masacratore15-Jan-07 3:26 
AnswerRe: How to Download File Pin
Mark J. Miller15-Jan-07 3:38
Mark J. Miller15-Jan-07 3:38 
AnswerRe: How to Download File Pin
Scott Dorman15-Jan-07 6:36
professionalScott Dorman15-Jan-07 6:36 
Questionchat program Pin
hadad15-Jan-07 3:08
hadad15-Jan-07 3:08 
AnswerRe: chat program Pin
il_masacratore15-Jan-07 3:29
il_masacratore15-Jan-07 3:29 
QuestionToolBoxBitmap Pin
aSarafian15-Jan-07 2:48
aSarafian15-Jan-07 2:48 
I have created my own custom progressbar controls and i wish to assign them an icon for the toolbox.

I have read everything i found on the net including the super http://www.bobpowell.net/toolboxbitmap.htm[^]

The orginal idea was to assign as an icon the icon of System.Windows.Forms.ProgressBar but i have tried everything and I couldn't do it.

So i decided to add a new icon. That also didn't work. Finally i decided to use the ToolBoxBitmap("FILEONDISK") constructor but that didn't work also.

So two things are happening.
1)It doesn't work which is not probable
2)Something in testing is wrong.

My test procedure has been. Cleaning the project, building in debug and then in a designer of a form looking the toolbox.
Please if i'm doing something wrong tell me.

Also If someone has the solution to pute the .net controls icon in mine please also tell me.

Because it matters here are some details for the project
Default namespace: MyComponents.Windows
Assembly Name: MyComponents.Windows

The control is located in Controls\ProgressBar.cs in the project dir MyComponents\Windows.

Here is the class declaration
{<br />
    [ToolboxBitmap(typeof(ResourceFinder), "System.Windows.Forms.ProgressBar.bmp")]<br />
    public class ProgressBar:System.Windows.Forms.Control


ResourceFinder is an internal class outside Namespace declaration. As i have understood this should be sufficcient.
AnswerRe: ToolBoxBitmap Pin
Fabio Zanetta15-Jan-07 3:26
Fabio Zanetta15-Jan-07 3:26 
GeneralRe: ToolBoxBitmap Pin
aSarafian15-Jan-07 5:09
aSarafian15-Jan-07 5:09 
GeneralRe: ToolBoxBitmap Pin
Fabio Zanetta15-Jan-07 5:19
Fabio Zanetta15-Jan-07 5:19 
Questionpaint on ListView isn't working Pin
teejayem15-Jan-07 2:41
teejayem15-Jan-07 2:41 
AnswerRe: web service Pin
Guffa15-Jan-07 2:37
Guffa15-Jan-07 2:37 
QuestionI can not open new form.It gives errors in vs 2005 Pin
Member 372644115-Jan-07 1:53
Member 372644115-Jan-07 1:53 
GeneralRe: I can not open new form.It gives errors in vs 2005 Pin
Seishin#15-Jan-07 2:04
Seishin#15-Jan-07 2:04 
Questionmultithreading problem Pin
justintimberlake15-Jan-07 1:51
justintimberlake15-Jan-07 1:51 
AnswerRe: multithreading problem Pin
Russell Jones15-Jan-07 2:47
Russell Jones15-Jan-07 2:47 
AnswerRe: multithreading problem Pin
coolestCoder15-Jan-07 3:34
coolestCoder15-Jan-07 3:34 
Questionsize of text array - limitations Pin
electriac15-Jan-07 1:49
electriac15-Jan-07 1:49 
AnswerRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 2:01
mvePete O'Hanlon15-Jan-07 2:01 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 2:06
electriac15-Jan-07 2:06 
GeneralRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 2:18
mvePete O'Hanlon15-Jan-07 2:18 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 2:47
electriac15-Jan-07 2:47 
GeneralRe: size of text array - limitations Pin
electriac15-Jan-07 2:58
electriac15-Jan-07 2:58 
GeneralRe: size of text array - limitations Pin
Pete O'Hanlon15-Jan-07 3:07
mvePete O'Hanlon15-Jan-07 3:07 

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.