Click here to Skip to main content
16,007,443 members
Home / Discussions / C#
   

C#

 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 19:01
sitebuilderLuc Pattyn10-Jan-09 19:01 
AnswerRe: String Operations Pin
#realJSOP11-Jan-09 0:26
professional#realJSOP11-Jan-09 0:26 
QuestionChilkat (.NET) components? Pin
Ravi Bhavnani10-Jan-09 5:35
professionalRavi Bhavnani10-Jan-09 5:35 
AnswerRe: Chilkat (.NET) components? Pin
Judah Gabriel Himango10-Jan-09 10:41
sponsorJudah Gabriel Himango10-Jan-09 10:41 
GeneralRe: Chilkat (.NET) components? Pin
Ravi Bhavnani10-Jan-09 10:48
professionalRavi Bhavnani10-Jan-09 10:48 
Questionlooping through variables whose names start with... Pin
LordZoster10-Jan-09 4:19
LordZoster10-Jan-09 4:19 
AnswerRe: looping through variables whose names start with... Pin
LordZoster10-Jan-09 4:32
LordZoster10-Jan-09 4:32 
GeneralRe: looping through variables whose names start with... Pin
Luc Pattyn10-Jan-09 5:03
sitebuilderLuc Pattyn10-Jan-09 5:03 
Hi,

Operating on the names of variables is not possible in general; you can use reflection to operate
on the members (data fields, properties, methods, ...) of an object. But that is somewhat advanced stuff,
and not necessary for what you need.

I understand you will get the paths one by one from somewhere (app.config), and want to perform some
operations on them; hence I suggest you collect them in a Collection, probably a List< string> is
appropriate. You might first check the file existence, and only then insert the path name in the list.

Or you could insert the images themselves in the list; that would take more memory, but might better suits
your needs. Or you could create a little class that describes an image, holding its path name,
its image (initially null, until it is required, hence acting like a cache), and possibly some metadata.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Love, happiness and fewer bugs for 2009!


QuestionHow to write log file directly without annoying virtual memory Pin
vantoora10-Jan-09 2:38
vantoora10-Jan-09 2:38 
AnswerRe: How to write log file directly without annoying virtual memory Pin
Dave Kreskowiak10-Jan-09 2:49
mveDave Kreskowiak10-Jan-09 2:49 
GeneralRe: How to write log file directly without annoying virtual memory Pin
Luc Pattyn10-Jan-09 2:58
sitebuilderLuc Pattyn10-Jan-09 2:58 
GeneralRe: How to write log file directly without annoying virtual memory Pin
vantoora10-Jan-09 3:20
vantoora10-Jan-09 3:20 
GeneralRe: How to write log file directly without annoying virtual memory Pin
Luc Pattyn10-Jan-09 3:44
sitebuilderLuc Pattyn10-Jan-09 3:44 
GeneralRe: How to write log file directly without annoying virtual memory Pin
vantoora10-Jan-09 4:04
vantoora10-Jan-09 4:04 
QuestionUpdate TextBox from second Form Pin
wi5nia10-Jan-09 2:02
wi5nia10-Jan-09 2:02 
AnswerRe: Update TextBox from second Form Pin
Jason C Bourne10-Jan-09 2:11
Jason C Bourne10-Jan-09 2:11 
GeneralRe: Update TextBox from second Form Pin
DaveyM6910-Jan-09 6:38
professionalDaveyM6910-Jan-09 6:38 
GeneralRe: Update TextBox from second Form Pin
Jason C Bourne11-Jan-09 1:44
Jason C Bourne11-Jan-09 1:44 
AnswerRe: Update TextBox from second Form Pin
DaveyM6910-Jan-09 6:21
professionalDaveyM6910-Jan-09 6:21 
QuestionWord Search Style Game Pin
VinceAshbySmith10-Jan-09 1:21
VinceAshbySmith10-Jan-09 1:21 
AnswerRe: Word Search Style Game Pin
Eddy Vluggen10-Jan-09 1:42
professionalEddy Vluggen10-Jan-09 1:42 
GeneralRe: Word Search Style Game Pin
VinceAshbySmith10-Jan-09 2:06
VinceAshbySmith10-Jan-09 2:06 
GeneralRe: Word Search Style Game Pin
Jason C Bourne10-Jan-09 2:15
Jason C Bourne10-Jan-09 2:15 
GeneralRe: Word Search Style Game Pin
VinceAshbySmith10-Jan-09 2:30
VinceAshbySmith10-Jan-09 2:30 
GeneralRe: Word Search Style Game Pin
Jason C Bourne10-Jan-09 3:47
Jason C Bourne10-Jan-09 3:47 

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.