Click here to Skip to main content
15,889,808 members
Home / Discussions / C#
   

C#

 
QuestionString to GUID [modified] Pin
fracalifa30-May-06 4:17
fracalifa30-May-06 4:17 
AnswerRe: String to GUID [modified] Pin
CodyGen30-May-06 4:33
CodyGen30-May-06 4:33 
GeneralRe: String to GUID Pin
fracalifa30-May-06 5:43
fracalifa30-May-06 5:43 
QuestionGenerating an XML file from an XML schema Pin
El'Cachubrey30-May-06 4:11
El'Cachubrey30-May-06 4:11 
GeneralRe: Generating an XML file from an XML schema Pin
BoneSoft30-May-06 9:06
BoneSoft30-May-06 9:06 
GeneralRe: Generating an XML file from an XML schema [modified] Pin
El'Cachubrey30-May-06 20:47
El'Cachubrey30-May-06 20:47 
QuestionCustom DataGridColumnStyle with images eats up system resources / cpu Pin
Larantz30-May-06 4:06
Larantz30-May-06 4:06 
AnswerRe: Custom DataGridColumnStyle with images eats up system resources / cpu Pin
Wjousts30-May-06 5:44
Wjousts30-May-06 5:44 
I haven't tried anything like what you are doing, but one thought struck me. Are you looking up a lot of files with the same extension? If so could you maintain your own list of icons using the extension as a key (maybe the dictonary class would be good for this?) so that you only need to look in the registry the first time you encounter an extension? That would cut down on keep having to recreate the same icon.
The procedure would be something like this:

1) Get extension from filename
2) Look in my list to see if I already have a bitmap
3) If I already have it, use it and we're done
4) If we don't have it look it up in the registry and add it to our list

GeneralRe: Custom DataGridColumnStyle with images eats up system resources / cpu Pin
Larantz30-May-06 6:23
Larantz30-May-06 6:23 
GeneralRe: Custom DataGridColumnStyle with images eats up system resources / cpu Pin
Larantz30-May-06 21:02
Larantz30-May-06 21:02 
QuestionHow to Implement RBAC pattern or other security pattern in c# Pin
Saeed Rezaey30-May-06 3:49
Saeed Rezaey30-May-06 3:49 
QuestionWhat is XML and XSL? Pin
NaNg1524130-May-06 3:33
NaNg1524130-May-06 3:33 
AnswerRe: What is XML and XSL? Pin
Support12330-May-06 3:52
Support12330-May-06 3:52 
AnswerRe: What is XML and XSL? Pin
Saeed Rezaey30-May-06 3:55
Saeed Rezaey30-May-06 3:55 
AnswerRe: What is XML and XSL? [modified] Pin
MCSD-Gandalf30-May-06 3:58
MCSD-Gandalf30-May-06 3:58 
AnswerRe: What is XML and XSL? Pin
AbdulRahmanOfpk30-May-06 4:08
AbdulRahmanOfpk30-May-06 4:08 
QuestionRe: What is XML and XSL? [modified] Pin
NaNg1524130-May-06 4:29
NaNg1524130-May-06 4:29 
AnswerRe: What is XML and XSL? Pin
Dustin Metzgar30-May-06 5:01
Dustin Metzgar30-May-06 5:01 
QuestionMultiple row select in a datagrid? Pin
MCSD-Gandalf30-May-06 3:09
MCSD-Gandalf30-May-06 3:09 
QuestionAddIn not responding for VS.Net 2003 Pin
Ruhina30-May-06 2:54
Ruhina30-May-06 2:54 
Questionan sql query error ? help please ... Pin
cmpeng3430-May-06 2:32
cmpeng3430-May-06 2:32 
AnswerRe: an sql query error ? help please ... Pin
NaNg1524130-May-06 2:40
NaNg1524130-May-06 2:40 
AnswerRe: an sql query error ? help please ... Pin
Guffa30-May-06 4:20
Guffa30-May-06 4:20 
AnswerRe: an sql query error ? help please ... Pin
Stefan Troschuetz30-May-06 2:48
Stefan Troschuetz30-May-06 2:48 
AnswerRe: an sql query error ? help please ... Pin
albCode30-May-06 2:58
albCode30-May-06 2:58 

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.