Click here to Skip to main content
15,907,874 members
Home / Discussions / C#
   

C#

 
QuestionConvert Large Icons into Small???? Pin
classNoob14-Jun-07 13:29
classNoob14-Jun-07 13:29 
QuestionUsing your own classes in methods. Pin
jblouir14-Jun-07 12:32
jblouir14-Jun-07 12:32 
AnswerRe: Using your own classes in methods. Pin
Guffa14-Jun-07 12:55
Guffa14-Jun-07 12:55 
GeneralRe: Using your own classes in methods. Pin
jblouir14-Jun-07 13:05
jblouir14-Jun-07 13:05 
GeneralRe: Using your own classes in methods. Pin
jblouir14-Jun-07 13:26
jblouir14-Jun-07 13:26 
GeneralWell... Pin
jblouir14-Jun-07 13:31
jblouir14-Jun-07 13:31 
GeneralRe: Well... Pin
jblouir14-Jun-07 13:37
jblouir14-Jun-07 13:37 
GeneralRe: Well... Pin
jblouir14-Jun-07 13:47
jblouir14-Jun-07 13:47 
Ok I solved the problem...

For some reason it didnt like the fact that I had the return activeRoom; in the follow position

foreach (cRoom room in roomList)
{
if (room.RID == RID)
{
activeRoom = room;
return activeRoom;
}
}

So I moved it here

foreach (cRoom room in roomList)
{
if (room.RID == RID)
{
activeRoom = room;
}
}
return activeRoom;

and it worked fine

I guess I cant have a return value in a foreach loop

Thanks for your help. =)
GeneralRe: Well... Pin
Christian Graus14-Jun-07 13:52
protectorChristian Graus14-Jun-07 13:52 
AnswerRe: Using your own classes in methods. Pin
Guffa14-Jun-07 13:30
Guffa14-Jun-07 13:30 
GeneralRe: Using your own classes in methods. Pin
Rudolf Jan15-Jun-07 0:27
Rudolf Jan15-Jun-07 0:27 
Questionmulti list problem [modified] Pin
bolhassanim@bellsouth.net14-Jun-07 10:34
professionalbolhassanim@bellsouth.net14-Jun-07 10:34 
AnswerRe: multi list problem Pin
Christian Graus14-Jun-07 11:47
protectorChristian Graus14-Jun-07 11:47 
GeneralRe: multi list problem Pin
bolhassanim@bellsouth.net14-Jun-07 18:19
professionalbolhassanim@bellsouth.net14-Jun-07 18:19 
QuestionDelimiters - Is there a simple way Pin
haz1314-Jun-07 10:19
haz1314-Jun-07 10:19 
AnswerRe: Delimiters - Is there a simple way Pin
Paul Conrad14-Jun-07 10:31
professionalPaul Conrad14-Jun-07 10:31 
GeneralRe: Delimiters - Is there a simple way Pin
haz1314-Jun-07 10:39
haz1314-Jun-07 10:39 
GeneralRe: Delimiters - Is there a simple way Pin
Giorgi Dalakishvili14-Jun-07 10:44
mentorGiorgi Dalakishvili14-Jun-07 10:44 
GeneralRe: Delimiters - Is there a simple way Pin
Paul Conrad14-Jun-07 10:52
professionalPaul Conrad14-Jun-07 10:52 
GeneralRe: Delimiters - Is there a simple way Pin
Paul Conrad14-Jun-07 10:44
professionalPaul Conrad14-Jun-07 10:44 
GeneralRe: Delimiters - Is there a simple way Pin
haz1314-Jun-07 10:51
haz1314-Jun-07 10:51 
AnswerThe Simply Way. ;-) Pin
jblouir14-Jun-07 12:58
jblouir14-Jun-07 12:58 
GeneralRe: The Simply Way. ;-) Pin
Christian Graus14-Jun-07 13:01
protectorChristian Graus14-Jun-07 13:01 
GeneralRe: The Simply Way. ;-) Pin
jblouir14-Jun-07 13:12
jblouir14-Jun-07 13:12 
Generalbtw Haz13 Pin
jblouir14-Jun-07 13:18
jblouir14-Jun-07 13:18 

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.