Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Video Editing Component? Pin
Tony Archer10-May-04 16:29
Tony Archer10-May-04 16:29 
GeneralRe: Video Editing Component? Pin
osto10-May-04 16:54
osto10-May-04 16:54 
GeneralRe: Video Editing Component? Pin
Kolich11-May-04 1:09
Kolich11-May-04 1:09 
GeneralRe: Video Editing Component? Pin
Tony Archer11-May-04 8:20
Tony Archer11-May-04 8:20 
GeneralRe: Video Editing Component? Pin
leppie11-May-04 7:18
leppie11-May-04 7:18 
GeneralRe: Video Editing Component? Pin
Tony Archer12-May-04 0:31
Tony Archer12-May-04 0:31 
QuestionHow Know if an control has added an event Pin
machocr10-May-04 10:12
machocr10-May-04 10:12 
AnswerRe: How Know if an control has added an event Pin
Heath Stewart10-May-04 10:41
protectorHeath Stewart10-May-04 10:41 
GeneralSending data over POST Pin
CWIZO10-May-04 9:21
CWIZO10-May-04 9:21 
GeneralRe: Sending data over POST Pin
Heath Stewart10-May-04 9:45
protectorHeath Stewart10-May-04 9:45 
GeneralRe: Sending data over POST Pin
CWIZO10-May-04 10:24
CWIZO10-May-04 10:24 
GeneralRe: Sending data over POST Pin
Heath Stewart10-May-04 10:46
protectorHeath Stewart10-May-04 10:46 
GeneralDropDownList - Behavioral Question. Pin
stan2810-May-04 7:43
stan2810-May-04 7:43 
GeneralRe: DropDownList - Behavioral Question. Pin
Heath Stewart10-May-04 9:03
protectorHeath Stewart10-May-04 9:03 
Generaltoolbar icon Pin
elena1234510-May-04 6:16
elena1234510-May-04 6:16 
GeneralRe: toolbar icon Pin
Heath Stewart10-May-04 6:49
protectorHeath Stewart10-May-04 6:49 
"Windows" doesn't store icons anywhere. Applications store icons however they want to. If you just changed the App.ico and the main form's icon, this won't change the icon for your toolbar. Be default, Visual Studio .NET puts the ImageList for a toolbar into a ResX file (localized resources). That image is still in the ResX file and apparently you're programmatically changing the toolbar at runtime.

Edit the ImageList for your toolbar and remove that image, or replace it with App.ico. In this event, the icon data will be serialized to the ResX file, which gets compiled as a binary .resources file associated (i.e., name similarily) as the class it's "bound" to (in the designer, that is). If you want to see this, click "View Hidden Files" in the solution explorer when your project is selected. It will appear under your form or control if you drill-down (i.e., click the +) sign.

Note that .NET applications do not utilize the registry (they can, but this is not recommended). Also, Windows Explorer (the Windows shell) does cache file association icons in a system image list, but this has absolutely nothing to do with your problem in particular. This is just FYI.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: toolbar icon Pin
elena1234510-May-04 10:08
elena1234510-May-04 10:08 
GeneralRe: toolbar icon Pin
Heath Stewart10-May-04 10:44
protectorHeath Stewart10-May-04 10:44 
GeneralDatabase Wrapper Pin
JohnMess10-May-04 5:25
sussJohnMess10-May-04 5:25 
GeneralRe: Database Wrapper Pin
Heath Stewart10-May-04 5:40
protectorHeath Stewart10-May-04 5:40 
GeneralRe: Database Wrapper Pin
johnmess10-May-04 6:31
sussjohnmess10-May-04 6:31 
QuestionImage retrieval from ImageList is slow? Pin
Judah Gabriel Himango10-May-04 4:39
sponsorJudah Gabriel Himango10-May-04 4:39 
AnswerRe: Image retrieval from ImageList is slow? Pin
Heath Stewart10-May-04 4:47
protectorHeath Stewart10-May-04 4:47 
GeneralRe: Image retrieval from ImageList is slow? Pin
Judah Gabriel Himango10-May-04 4:53
sponsorJudah Gabriel Himango10-May-04 4:53 
GeneralRe: Image retrieval from ImageList is slow? Pin
Judah Gabriel Himango10-May-04 6:19
sponsorJudah Gabriel Himango10-May-04 6:19 

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.