Click here to Skip to main content
15,912,021 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: 3 occurences of error C2039 Pin
joseph19506-Jun-05 7:38
joseph19506-Jun-05 7:38 
Generalremoving variable Pin
joseph19503-Jun-05 2:56
joseph19503-Jun-05 2:56 
GeneralRe: removing variable Pin
toxcct3-Jun-05 3:33
toxcct3-Jun-05 3:33 
GeneralRe: removing variable Pin
joseph19503-Jun-05 4:15
joseph19503-Jun-05 4:15 
GeneralLabel Text problems Pin
Hmmkk2-Jun-05 8:34
Hmmkk2-Jun-05 8:34 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 10:02
protectorChristian Graus2-Jun-05 10:02 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:25
Hmmkk2-Jun-05 10:25 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 10:30
protectorChristian Graus2-Jun-05 10:30 
Hmmkk wrote:
But after all this is just a test program that I'm making.

Then it's a good chance to learn how to do things well Smile | :) There's never a reason to write sloppy code.

Having said that, this code doesn't look that sloppy to me, it's just a simple mistake, you're trying to access something and you need to check that it exists first, and create it if it doesn't and it needs to.

Hmmkk wrote:
Is there anyway you could watch through my short code or do you have any idea of a sollution?

At this stage, I don't even know what your list contains. HOwever, the solution is that you need to create an object to sit at the position you're trying to access, before you try to access it, as I said initially.

Christian Graus - Microsoft MVP - C++
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:38
Hmmkk2-Jun-05 10:38 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 10:46
protectorChristian Graus2-Jun-05 10:46 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:48
Hmmkk2-Jun-05 10:48 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:57
Hmmkk2-Jun-05 10:57 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 12:18
protectorChristian Graus2-Jun-05 12:18 
GeneralPassing data between forms Pin
richiemac1-Jun-05 8:58
richiemac1-Jun-05 8:58 
GeneralRe: Passing data between forms Pin
Saksida Bojan1-Jun-05 19:40
Saksida Bojan1-Jun-05 19:40 
GeneralRe: Passing data between forms Pin
Lagwagon561-Jun-05 10:12
Lagwagon561-Jun-05 10:12 
GeneralRe: Passing data between forms Pin
richiemac1-Jun-05 21:32
richiemac1-Jun-05 21:32 
GeneralRe: Passing data between forms Pin
richiemac1-Jun-05 22:37
richiemac1-Jun-05 22:37 
GeneralRe: Passing data between forms Pin
Lagwagon562-Jun-05 4:27
Lagwagon562-Jun-05 4:27 
GeneralRe: Passing data between forms Pin
Saksida Bojan2-Jun-05 20:10
Saksida Bojan2-Jun-05 20:10 
GeneralRe: Passing data between forms Pin
richiemac5-Jun-05 5:34
richiemac5-Jun-05 5:34 
Generalpanel component problems Pin
richiemac31-May-05 6:44
richiemac31-May-05 6:44 
GeneralRe: panel component problems Pin
Christian Graus31-May-05 13:49
protectorChristian Graus31-May-05 13:49 
GeneralRe: panel component problems Pin
richiemac31-May-05 21:47
richiemac31-May-05 21:47 
GeneralRe: panel component problems Pin
Christian Graus31-May-05 21:51
protectorChristian Graus31-May-05 21:51 

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.