Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Opening file with in its application Pin
hollismarek12-Nov-09 2:34
hollismarek12-Nov-09 2:34 
GeneralRe: Opening file with in its application Pin
Hum Dum11-Nov-09 20:17
Hum Dum11-Nov-09 20:17 
QuestionProblem with BCP in C# Pin
sudhirBirlapur10-Nov-09 18:02
sudhirBirlapur10-Nov-09 18:02 
AnswerRe: Problem with BCP in C# Pin
Christian Graus10-Nov-09 18:17
protectorChristian Graus10-Nov-09 18:17 
QuestionList element copying problem Pin
Charlesh310-Nov-09 15:35
Charlesh310-Nov-09 15:35 
AnswerRe: List element copying problem Pin
Luc Pattyn10-Nov-09 15:41
sitebuilderLuc Pattyn10-Nov-09 15:41 
AnswerRe: List element copying problem Pin
Gerry Schmitz10-Nov-09 17:32
mveGerry Schmitz10-Nov-09 17:32 
GeneralRe: List element copying problem Pin
Charlesh311-Nov-09 8:09
Charlesh311-Nov-09 8:09 
Gerry:

Thanks fot taking the time to reply.

I had seen a couple of references to the fact that cloning a List just copies the references, so you end up with the same problem I started with. See: http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/de75a3c3-2920-48ae-bf85-0399e5ee7a10   and also http://weblogs.asp.net/jeff/archive/2005/11/21/431125.aspx .

But wanting to give it a try anyhow, I took your advice and used MemberwiseClone with your syntax:

                              CombinedMemories[NumberOfCombinedMemories].bUsed = (Boolean) MemoryBank[i].bUsed.MemberwiseClone();

but get the following error:

Error     3     Cannot access protected member 'object.MemberwiseClone()' via a qualifier of type 'uint'; the qualifier must be of type 'WindowsFormsApplication1.Form1' (or derived from it)

This I do not understand.


Chuck
GeneralRe: List element copying problem [modified] Pin
Gerry Schmitz11-Nov-09 11:38
mveGerry Schmitz11-Nov-09 11:38 
GeneralRe: List element copying problem Pin
Charlesh315-Nov-09 9:17
Charlesh315-Nov-09 9:17 
GeneralRe: List element copying problem Pin
Gerry Schmitz15-Nov-09 12:36
mveGerry Schmitz15-Nov-09 12:36 
QuestionUnable to refresh dataset in (rdlc) report Pin
Crapaw4510-Nov-09 10:07
Crapaw4510-Nov-09 10:07 
AnswerRe: Unable to refresh dataset in (rdlc) report Pin
Abhishek Sur10-Nov-09 11:09
professionalAbhishek Sur10-Nov-09 11:09 
GeneralRe: Unable to refresh dataset in (rdlc) report [solved] Pin
Crapaw4511-Nov-09 4:06
Crapaw4511-Nov-09 4:06 
GeneralRe: Unable to refresh dataset in (rdlc) report [solved] Pin
Abhishek Sur11-Nov-09 21:35
professionalAbhishek Sur11-Nov-09 21:35 
Questionre: deserialisation Pin
jdneul10-Nov-09 10:04
jdneul10-Nov-09 10:04 
AnswerRe: re: deserialisation Pin
Christian Graus10-Nov-09 10:14
protectorChristian Graus10-Nov-09 10:14 
GeneralRe: re: deserialisation Pin
jdneul10-Nov-09 10:26
jdneul10-Nov-09 10:26 
GeneralRe: re: deserialisation Pin
Abhishek Sur10-Nov-09 11:14
professionalAbhishek Sur10-Nov-09 11:14 
QuestionQuick Code Question Pin
DarkKitten10-Nov-09 9:17
DarkKitten10-Nov-09 9:17 
AnswerRe: Quick Code Question Pin
Christian Graus10-Nov-09 10:15
protectorChristian Graus10-Nov-09 10:15 
GeneralRe: Quick Code Question Pin
DarkKitten10-Nov-09 10:21
DarkKitten10-Nov-09 10:21 
GeneralRe: Quick Code Question Pin
EliottA10-Nov-09 10:53
EliottA10-Nov-09 10:53 
GeneralRe: Quick Code Question Pin
Christian Graus10-Nov-09 11:25
protectorChristian Graus10-Nov-09 11:25 
Questioncreate form Pin
farokhian10-Nov-09 9:05
farokhian10-Nov-09 9:05 

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.