Click here to Skip to main content
15,920,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help for someone whos memory is going fast. Pin
Alan N10-Feb-09 13:41
Alan N10-Feb-09 13:41 
GeneralRe: Help for someone whos memory is going fast. Pin
Henry Minute10-Feb-09 13:46
Henry Minute10-Feb-09 13:46 
QuestionWhich Is Better - Signed or Unsigned Assemblies? Pin
BlitzPackage10-Feb-09 11:00
BlitzPackage10-Feb-09 11:00 
AnswerRe: Which Is Better - Signed or Unsigned Assemblies? Pin
je_gonzalez10-Feb-09 11:46
je_gonzalez10-Feb-09 11:46 
AnswerRe: Which Is Better - Signed or Unsigned Assemblies? Pin
#realJSOP10-Feb-09 23:38
professional#realJSOP10-Feb-09 23:38 
QuestionHow to use a string or char array to refer to a control Pin
t_feras10-Feb-09 10:41
t_feras10-Feb-09 10:41 
AnswerRe: How to use a string or char array to refer to a control Pin
Christian Graus10-Feb-09 12:43
protectorChristian Graus10-Feb-09 12:43 
AnswerRe: How to use a string or char array to refer to a control Pin
Henry Minute10-Feb-09 12:49
Henry Minute10-Feb-09 12:49 
Where I think you are getting confused is the ToCharArray() method.
This is a method of the string class, and what it does is to return the string calling it as an array of characters. I does not convert an image into an array.
The fields currentImage and nextImage, that you are using are strings representing a name that you have assigned to an image. They do not point to the image in any way.

Look up, either in MSDN or Google, 'List<t>' or 'ArrayList' and learn how to create a list of images, or better, since that would take up a lot of memory, a list of file names.

Then use your imagePosition field to index into that list.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: How to use a string or char array to refer to a control Pin
t_feras10-Feb-09 13:13
t_feras10-Feb-09 13:13 
GeneralRe: How to use a string or char array to refer to a control Pin
Henry Minute10-Feb-09 13:53
Henry Minute10-Feb-09 13:53 
QuestionParsing at end of line with split function Pin
alwaysthinking10-Feb-09 10:18
alwaysthinking10-Feb-09 10:18 
AnswerRe: Parsing at end of line with split function Pin
mav.northwind10-Feb-09 10:29
mav.northwind10-Feb-09 10:29 
AnswerRe: Parsing at end of line with split function Pin
Guffa10-Feb-09 10:37
Guffa10-Feb-09 10:37 
QuestionDataSet columns Pin
ziwez010-Feb-09 8:39
ziwez010-Feb-09 8:39 
AnswerRe: DataSet columns Pin
Wendelius10-Feb-09 8:47
mentorWendelius10-Feb-09 8:47 
GeneralRe: DataSet columns Pin
ziwez010-Feb-09 8:54
ziwez010-Feb-09 8:54 
GeneralRe: DataSet columns Pin
Wendelius10-Feb-09 9:04
mentorWendelius10-Feb-09 9:04 
AnswerRe: DataSet columns Pin
Mycroft Holmes10-Feb-09 13:28
professionalMycroft Holmes10-Feb-09 13:28 
QuestionGet "Input string was not in a correct format" exception when calling OdbcConnection's getSchema("Columns") for Oracle 9i database Pin
stilz10-Feb-09 8:11
stilz10-Feb-09 8:11 
AnswerRe: Get "Input string was not in a correct format" exception when calling OdbcConnection's getSchema("Columns") for Oracle 9i database Pin
Wendelius10-Feb-09 8:26
mentorWendelius10-Feb-09 8:26 
GeneralRe: Get "Input string was not in a correct format" exception when calling OdbcConnection's getSchema("Columns") for Oracle 9i database Pin
stilz10-Feb-09 8:53
stilz10-Feb-09 8:53 
GeneralRe: Get "Input string was not in a correct format" exception when calling OdbcConnection's getSchema("Columns") for Oracle 9i database Pin
Wendelius10-Feb-09 9:06
mentorWendelius10-Feb-09 9:06 
GeneralRe: Get "Input string was not in a correct format" exception when calling OdbcConnection's getSchema("Columns") for Oracle 9i database Pin
stilz11-Feb-09 10:06
stilz11-Feb-09 10:06 
GeneralRe: Get "Input string was not in a correct format" exception when calling OdbcConnection's getSchema("Columns") for Oracle 9i database Pin
Wendelius19-Feb-09 8:23
mentorWendelius19-Feb-09 8:23 
Questionhide tooltip Pin
netJP12L10-Feb-09 8:03
netJP12L10-Feb-09 8:03 

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.