Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: Change language Pin
Giorgi Dalakishvili19-Aug-07 7:07
mentorGiorgi Dalakishvili19-Aug-07 7:07 
AnswerRe: Change language [modified] Pin
Hessam Jalali19-Aug-07 7:25
Hessam Jalali19-Aug-07 7:25 
GeneralRe: Change language Pin
Zhendalf19-Aug-07 9:00
Zhendalf19-Aug-07 9:00 
GeneralRe: Change language Pin
Zhendalf19-Aug-07 9:05
Zhendalf19-Aug-07 9:05 
Generaltelnet Pin
otrpgglk19-Aug-07 2:39
otrpgglk19-Aug-07 2:39 
QuestionRegex.Replace several items? Pin
hootie_dk19-Aug-07 2:39
hootie_dk19-Aug-07 2:39 
AnswerRe: Regex.Replace several items? Pin
Paul Conrad26-Aug-07 9:18
professionalPaul Conrad26-Aug-07 9:18 
QuestionResource Problem Pin
Rick van Woudenberg19-Aug-07 2:28
Rick van Woudenberg19-Aug-07 2:28 
Dear all,

Quick question. I'm trying implement the project " TaskBarNotifier " ( http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp[^] in my application. On compilation everything goes well, but during execution it throws an exception:

Resource 'skin.bmp' cannot be found in class 'ICNS.MainApplication'.

I've added the bmp to the resources, even tried setting the path manually but to no avail.
I've put the following code in the constructor of my main form :

//Setting stuff for the TaskBarNotifier<br />
taskbarNotifier = new TaskbarNotifier();<br />
taskbarNotifier.SetBackgroundBitmap(new Bitmap(GetType(), "skin.bmp"), Color.FromArgb(255, 0, 255));<br />
taskbarNotifier.SetCloseBitmap(new Bitmap(GetType(), "close.bmp"), Color.FromArgb(255, 0, 255), new Point(280, 57));<br />
taskbarNotifier.TitleRectangle = new Rectangle(150, 57, 125, 28);<br />
taskbarNotifier.ContentRectangle = new Rectangle(75, 92, 215, 55);<br />
taskbarNotifier.ContentClick += new EventHandler(ContentClick);<br />
taskbarNotifier.CloseClick += new EventHandler(CloseClick);


Can anyone tell me what I am doing wrong ?
AnswerRe: Resource Problem Pin
Paul Conrad19-Aug-07 4:06
professionalPaul Conrad19-Aug-07 4:06 
Questionhello Pin
chehreghany19-Aug-07 1:28
chehreghany19-Aug-07 1:28 
AnswerRe: hello Pin
Hessam Jalali19-Aug-07 2:26
Hessam Jalali19-Aug-07 2:26 
AnswerRe: hello Pin
Not Active19-Aug-07 5:14
mentorNot Active19-Aug-07 5:14 
Questionerror Pin
chehreghany19-Aug-07 1:07
chehreghany19-Aug-07 1:07 
AnswerRe: error Pin
Rick van Woudenberg19-Aug-07 2:33
Rick van Woudenberg19-Aug-07 2:33 
QuestionHow to get Functions arguments from shell32.dll Pin
Naveed72719-Aug-07 0:39
Naveed72719-Aug-07 0:39 
AnswerRe: How to get Functions arguments from shell32.dll Pin
Luc Pattyn19-Aug-07 1:06
sitebuilderLuc Pattyn19-Aug-07 1:06 
Question[C#] - Generating ASP Scripts through C# Pin
aravinda77719-Aug-07 0:37
aravinda77719-Aug-07 0:37 
AnswerRe: [C#] - Generating ASP Scripts through C# Pin
Mustafa Ismail Mustafa19-Aug-07 10:05
Mustafa Ismail Mustafa19-Aug-07 10:05 
Questionwhat is best way to create help ? and convert a word document to chm? Pin
B.A18-Aug-07 23:41
B.A18-Aug-07 23:41 
AnswerRe: what is best way to create help ? and convert a word document to chm? Pin
martin_hughes19-Aug-07 3:55
martin_hughes19-Aug-07 3:55 
AnswerRe: what is best way to create help ? and convert a word document to chm? Pin
Rudolf Jan19-Aug-07 4:23
Rudolf Jan19-Aug-07 4:23 
QuestionCrystal Report and SubReport Pin
merwa18-Aug-07 23:36
merwa18-Aug-07 23:36 
QuestionRequest for help - InitializeComponent failure Pin
T.D.Prasad18-Aug-07 22:57
T.D.Prasad18-Aug-07 22:57 
QuestionInternet Chat like yahoo messenger (simple) Pin
Majid_grok18-Aug-07 21:55
Majid_grok18-Aug-07 21:55 
AnswerRe: Internet Chat like yahoo messenger (simple) Pin
Dave Kreskowiak19-Aug-07 3:48
mveDave Kreskowiak19-Aug-07 3:48 

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.