Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: Illegal Cross thread Error Pin
ramdil12-Jul-07 8:16
ramdil12-Jul-07 8:16 
GeneralRe: Illegal Cross thread Error Pin
martin_hughes12-Jul-07 8:24
martin_hughes12-Jul-07 8:24 
GeneralRe: Illegal Cross thread Error Pin
ramdil12-Jul-07 8:26
ramdil12-Jul-07 8:26 
GeneralRe: Illegal Cross thread Error Pin
Luc Pattyn12-Jul-07 8:37
sitebuilderLuc Pattyn12-Jul-07 8:37 
GeneralRe: Illegal Cross thread Error Pin
ramdil12-Jul-07 22:38
ramdil12-Jul-07 22:38 
QuestionEmbedding a second icon into an exe file... Pin
Shy Agam12-Jul-07 7:13
Shy Agam12-Jul-07 7:13 
AnswerRe: Embedding a second icon into an exe file... Pin
Ed.Poore12-Jul-07 9:27
Ed.Poore12-Jul-07 9:27 
GeneralRe: Embedding a second icon into an exe file... Pin
Shy Agam12-Jul-07 12:27
Shy Agam12-Jul-07 12:27 
Thanks, but it did not work for me...

However, I've found my own solution.
After compiling the exe file, you open it in VS, either by selecting it via File > Open > File, or by clicking the small "Show all files" icon on the top of the solution explorer, navigating (still in the solution explorer) to the exe file, and double clicking it.
In the new opened tab it is possible to import the icon into the already compiled exe. Big Grin | :-D

Of course it has to be done EVERY TIME the exe is recompiled, which is quite annoying... D'Oh! | :doh:
So I'm thinking of learning how to use Post-Build Events...
Maybe I could make VS import the icon automatically every time...

Well... I hope this post will help others achieve the same goal.
I intend to write a small article about this, and maybe combine it with another subject. Hope I'll have the time... Smile | :)

Regards,
Shy.
GeneralRe: Embedding a second icon into an exe file... Pin
Ed.Poore12-Jul-07 12:54
Ed.Poore12-Jul-07 12:54 
GeneralRe: Embedding a second icon into an exe file... Pin
Shy Agam12-Jul-07 13:11
Shy Agam12-Jul-07 13:11 
GeneralRe: Embedding a second icon into an exe file... Pin
Ed.Poore12-Jul-07 13:45
Ed.Poore12-Jul-07 13:45 
GeneralRe: Embedding a second icon into an exe file... Pin
Shy Agam12-Jul-07 14:00
Shy Agam12-Jul-07 14:00 
GeneralRe: Embedding a second icon into an exe file... Pin
Ed.Poore12-Jul-07 14:40
Ed.Poore12-Jul-07 14:40 
Questionhow to make snooker/pool/billiard in C#??? Pin
chumairr12-Jul-07 6:32
chumairr12-Jul-07 6:32 
AnswerRe: how to make snooker/pool/billiard in C#??? Pin
Christian Graus12-Jul-07 6:39
protectorChristian Graus12-Jul-07 6:39 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Paul Conrad12-Jul-07 6:52
professionalPaul Conrad12-Jul-07 6:52 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Christian Graus12-Jul-07 6:58
protectorChristian Graus12-Jul-07 6:58 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Paul Conrad12-Jul-07 7:00
professionalPaul Conrad12-Jul-07 7:00 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Christian Graus12-Jul-07 7:04
protectorChristian Graus12-Jul-07 7:04 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Paul Conrad12-Jul-07 7:06
professionalPaul Conrad12-Jul-07 7:06 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Christian Graus12-Jul-07 7:12
protectorChristian Graus12-Jul-07 7:12 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Paul Conrad12-Jul-07 7:24
professionalPaul Conrad12-Jul-07 7:24 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Zoltan Balazs12-Jul-07 9:27
Zoltan Balazs12-Jul-07 9:27 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Paul Conrad12-Jul-07 9:30
professionalPaul Conrad12-Jul-07 9:30 
GeneralRe: how to make snooker/pool/billiard in C#??? Pin
Dan Neely12-Jul-07 9:52
Dan Neely12-Jul-07 9:52 

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.