Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataGrid Pin
Taurian11017-Sep-05 4:17
Taurian11017-Sep-05 4:17 
QuestionAuto generated code breaks Pin
Christian Graus14-Sep-05 12:57
protectorChristian Graus14-Sep-05 12:57 
AnswerRe: Auto generated code breaks Pin
Ashok Dhamija14-Sep-05 23:32
Ashok Dhamija14-Sep-05 23:32 
GeneralRe: Auto generated code breaks Pin
Christian Graus15-Sep-05 11:06
protectorChristian Graus15-Sep-05 11:06 
GeneralRe: Auto generated code breaks Pin
Ashok Dhamija15-Sep-05 20:14
Ashok Dhamija15-Sep-05 20:14 
QuestionStatusbar Pin
Taurian11014-Sep-05 10:45
Taurian11014-Sep-05 10:45 
AnswerRe: Statusbar Pin
Mark0614-Sep-05 11:26
Mark0614-Sep-05 11:26 
AnswerRe: Statusbar Pin
Luis Alonso Ramos14-Sep-05 16:24
Luis Alonso Ramos14-Sep-05 16:24 
As the other reply suggests, I would rather embed the resources in the assembly. Add the icon to the project in Solution Explorer and in the property window, select Embedded Resource instead of Content.

And in code, use something this constructor[^]:
Icon icon = new Icon(GetType(), "IconName.ico");
I hope this helps!

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!


The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
Questionmeasuring string Pin
xilefxilef14-Sep-05 10:31
xilefxilef14-Sep-05 10:31 
AnswerRe: measuring string Pin
seee sharp15-Sep-05 2:40
seee sharp15-Sep-05 2:40 
Question.net going away? Pin
Daniel132414-Sep-05 10:07
Daniel132414-Sep-05 10:07 
AnswerRe: .net going away? Pin
Colin Angus Mackay14-Sep-05 10:28
Colin Angus Mackay14-Sep-05 10:28 
GeneralRe: .net going away? Pin
Paul Conrad14-Sep-05 19:40
professionalPaul Conrad14-Sep-05 19:40 
AnswerRe: .net going away? Pin
Michael P Butler14-Sep-05 10:38
Michael P Butler14-Sep-05 10:38 
AnswerRe: .net going away? Pin
Alvaro Mendez14-Sep-05 11:20
Alvaro Mendez14-Sep-05 11:20 
GeneralRe: .net going away? Pin
Daniel132414-Sep-05 11:22
Daniel132414-Sep-05 11:22 
AnswerRe: .net going away? Pin
Christian Graus14-Sep-05 11:31
protectorChristian Graus14-Sep-05 11:31 
GeneralRe: .net going away? Pin
Judah Gabriel Himango14-Sep-05 12:37
sponsorJudah Gabriel Himango14-Sep-05 12:37 
AnswerRe: .net going away? Pin
Matt Gerrans14-Sep-05 18:42
Matt Gerrans14-Sep-05 18:42 
GeneralRe: .net going away? Pin
Daniel132415-Sep-05 2:06
Daniel132415-Sep-05 2:06 
GeneralRe: .net going away? Pin
mav.northwind15-Sep-05 2:15
mav.northwind15-Sep-05 2:15 
GeneralRe: .net going away? Pin
Daniel132415-Sep-05 2:19
Daniel132415-Sep-05 2:19 
QuestionTesting for compiler version Pin
Mark DeVol14-Sep-05 9:50
Mark DeVol14-Sep-05 9:50 
AnswerRe: Testing for compiler version Pin
Dave Kreskowiak14-Sep-05 10:29
mveDave Kreskowiak14-Sep-05 10:29 
QuestionSimulating keypress in a fullscreen DirectX application Pin
Herthoren14-Sep-05 8:53
Herthoren14-Sep-05 8:53 

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.