Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
QuestionExchange Server Pin
M. J. Jaya Chitra7-Oct-07 18:50
M. J. Jaya Chitra7-Oct-07 18:50 
QuestionProblem While Writing To A Text File Pin
rowdykuttan7-Oct-07 15:37
rowdykuttan7-Oct-07 15:37 
AnswerRe: Problem While Writing To A Text File Pin
Christian Graus7-Oct-07 15:56
protectorChristian Graus7-Oct-07 15:56 
GeneralRe: Problem While Writing To A Text File Pin
rowdykuttan7-Oct-07 16:06
rowdykuttan7-Oct-07 16:06 
GeneralRe: Problem While Writing To A Text File Pin
Christian Graus7-Oct-07 16:16
protectorChristian Graus7-Oct-07 16:16 
QuestionGet File Executable Header Pin
Patricio Tapia7-Oct-07 11:49
Patricio Tapia7-Oct-07 11:49 
AnswerRe: Get File Executable Header Pin
Anthony Mushrow7-Oct-07 14:36
professionalAnthony Mushrow7-Oct-07 14:36 
QuestionHow to create multiple instances of images. Please help Pin
Matt Cavanagh7-Oct-07 11:45
Matt Cavanagh7-Oct-07 11:45 
Hi guys, ive JUST started c# and im having some problems. I think the reason is that im misunderstanding something with object oriented programming(i came from Delphi).
Ok, so i want to create a sort of space invaders game, and ive got this far: www.nuked.co.za/SpaceInvaders.rar
^^^^ that includes the source code(made in sharp develop 1)

Ok now my problem is this: i can only have one enemy/bullet at a time because else i have to create a picturebox for every possible bullet or enemy there may be. Now I found a way to create pictureboxes on the fly, but then I couldnt reference them from anywhere else(I need to so that the timers can make them move etc). What I mean is if I created one inside an onClick event its fine, but then I cant say this.thatthingicreated because it was not created publically(i presume). So the work around would be to just declare every name at the top and have global variables(thats my Delphi brain speaking), but thats tedious and what happens when you get a machine gun(for example).

Im sorry that im an idiot..

Thanks in advance for your help

Regards
Matt

Im lost...very very lost.
AnswerRe: How to create multiple instances of images. Please help Pin
Christian Graus7-Oct-07 12:00
protectorChristian Graus7-Oct-07 12:00 
GeneralRe: How to create multiple instances of images. Please help [modified] Pin
Matt Cavanagh7-Oct-07 12:12
Matt Cavanagh7-Oct-07 12:12 
GeneralRe: How to create multiple instances of images. Please help Pin
Anthony Mushrow7-Oct-07 14:33
professionalAnthony Mushrow7-Oct-07 14:33 
GeneralRe: How to create multiple instances of images. Please help Pin
Christian Graus7-Oct-07 14:46
protectorChristian Graus7-Oct-07 14:46 
QuestionVS 2008 Pin
MasterSharp7-Oct-07 11:34
MasterSharp7-Oct-07 11:34 
AnswerRe: VS 2008 Pin
Christian Graus7-Oct-07 11:57
protectorChristian Graus7-Oct-07 11:57 
GeneralRe: VS 2008 Pin
MasterSharp7-Oct-07 12:01
MasterSharp7-Oct-07 12:01 
QuestionCSV to Database Pin
gvanto7-Oct-07 10:29
gvanto7-Oct-07 10:29 
AnswerRe: CSV to Database Pin
Christian Graus7-Oct-07 10:49
protectorChristian Graus7-Oct-07 10:49 
AnswerRe: CSV to Database Pin
gvanto7-Oct-07 12:29
gvanto7-Oct-07 12:29 
QuestionHow would i go about programming an excel like worksheet?? Pin
kranius7-Oct-07 8:09
kranius7-Oct-07 8:09 
AnswerRe: How would i go about programming an excel like worksheet?? Pin
Matthew Cuba7-Oct-07 10:14
Matthew Cuba7-Oct-07 10:14 
AnswerRe: How would i go about programming an excel like worksheet?? Pin
GuyThiebaut7-Oct-07 10:32
professionalGuyThiebaut7-Oct-07 10:32 
AnswerRe: How would i go about programming an excel like worksheet?? Pin
Pete O'Hanlon7-Oct-07 10:50
mvePete O'Hanlon7-Oct-07 10:50 
GeneralRe: How would i go about programming an excel like worksheet?? Pin
kranius7-Oct-07 11:47
kranius7-Oct-07 11:47 
QuestionDifferent Controls Pin
half-life7-Oct-07 7:10
half-life7-Oct-07 7:10 
AnswerRe: Different Controls Pin
Pete O'Hanlon7-Oct-07 10:02
mvePete O'Hanlon7-Oct-07 10:02 

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.