Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
GeneralRe: Handler Problem Pin
Snowjim12-May-04 3:27
Snowjim12-May-04 3:27 
GeneralRe: Handler Problem Pin
Heath Stewart12-May-04 4:03
protectorHeath Stewart12-May-04 4:03 
Questioni feel BitBlt function somewhat slow, right? Pin
fu012-May-04 0:19
fu012-May-04 0:19 
AnswerRe: i feel BitBlt function somewhat slow, right? Pin
Heath Stewart12-May-04 3:23
protectorHeath Stewart12-May-04 3:23 
GeneralApplicationIcon Pin
edolan11-May-04 23:24
edolan11-May-04 23:24 
GeneralRe: ApplicationIcon Pin
sreejith ss nair12-May-04 0:51
sreejith ss nair12-May-04 0:51 
GeneralRe: ApplicationIcon Pin
edolan12-May-04 1:08
edolan12-May-04 1:08 
GeneralRe: ApplicationIcon Pin
Heath Stewart12-May-04 3:34
protectorHeath Stewart12-May-04 3:34 
You don't need to use IExtractIcon, then; you're trying to add icons to your application.

When you compile an assembly - despite the similar extensions to native applications - it is very different. If you want to add icons to your application, you either have to open your application after compiling in VS.NET (as resources) and add icons manually. This can be a pain, obviously, since you have to do this after each compile. There is no support in VS.NET 2002 or 2003 to add additional icons (might be in VS.NET 2005, but I haven't looked for such an option and it's installed on my other partition).

You can do this with the command-line compiler, however (csc.exe). Create a resource file (.rc - the "old school" resource file format for VC++) and pass the path to the /win32res switch when you compile. If you don't want to use the command-line compiler with all the necessary files (plus other compilation steps necessary, like running the licgen.exe and resgen.exe to compile licenses and resourse), then you can use a build tool like NAnt[^]. You still have to create a build script with everything necessary, but this at least tracks whether files have been changed and builds them in a similar fashion as VS.NET.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: ApplicationIcon Pin
edolan12-May-04 3:48
edolan12-May-04 3:48 
GeneralRe: ApplicationIcon Pin
sreejith ss nair12-May-04 1:32
sreejith ss nair12-May-04 1:32 
GeneralRe: ApplicationIcon Pin
Heath Stewart12-May-04 3:35
protectorHeath Stewart12-May-04 3:35 
GeneralRe: ApplicationIcon Pin
sreejith ss nair12-May-04 17:07
sreejith ss nair12-May-04 17:07 
GeneralRe: ApplicationIcon Pin
Heath Stewart13-May-04 2:22
protectorHeath Stewart13-May-04 2:22 
GeneralRe: ApplicationIcon Pin
sreejith ss nair13-May-04 2:37
sreejith ss nair13-May-04 2:37 
QuestionHow to get distinct rows data From Dataset ? Pin
Old Gun11-May-04 22:15
Old Gun11-May-04 22:15 
AnswerRe: How to get distinct rows data From Dataset ? Pin
Aryadip11-May-04 23:24
Aryadip11-May-04 23:24 
AnswerHere you will get it Pin
sreejith ss nair12-May-04 1:23
sreejith ss nair12-May-04 1:23 
GeneralRe: Here you will get it Pin
Heath Stewart12-May-04 3:38
protectorHeath Stewart12-May-04 3:38 
GeneralRe: Here you will get it Pin
sreejith ss nair12-May-04 17:04
sreejith ss nair12-May-04 17:04 
GeneralXML - Stripping Namespaces Pin
MrEyes11-May-04 22:13
MrEyes11-May-04 22:13 
GeneralRe: XML - Stripping Namespaces Pin
Aryadip11-May-04 23:29
Aryadip11-May-04 23:29 
GeneralRe: A Solution Pin
MrEyes12-May-04 2:58
MrEyes12-May-04 2:58 
GeneralRe: XML - Stripping Namespaces Pin
Heath Stewart12-May-04 3:41
protectorHeath Stewart12-May-04 3:41 
GeneralRe: XML - Stripping Namespaces Pin
MrEyes12-May-04 4:01
MrEyes12-May-04 4:01 
GeneralRe: XML - Stripping Namespaces Pin
Heath Stewart12-May-04 4:42
protectorHeath Stewart12-May-04 4:42 

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.