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

C#

 
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 
GeneralRe: Image retrieval from ImageList is slow? Pin
leppie10-May-04 11:55
leppie10-May-04 11:55 
Generaljumping from one form to another Pin
michael.wikstrom10-May-04 3:29
michael.wikstrom10-May-04 3:29 
GeneralRe: jumping from one form to another Pin
Heath Stewart10-May-04 3:35
protectorHeath Stewart10-May-04 3:35 
GeneralSending binary data with webservices Pin
Edgar R. C.10-May-04 3:01
Edgar R. C.10-May-04 3:01 
GeneralRe: Sending binary data with webservices Pin
Heath Stewart10-May-04 3:09
protectorHeath Stewart10-May-04 3:09 
GeneralRe: Sending binary data with webservices Pin
Edgar R. C.10-May-04 3:57
Edgar R. C.10-May-04 3:57 
GeneralRe: Sending binary data with webservices Pin
Heath Stewart10-May-04 4:30
protectorHeath Stewart10-May-04 4:30 
GeneralRe: Sending binary data with webservices Pin
Edgar R. C.11-May-04 9:27
Edgar R. C.11-May-04 9:27 

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.