I'm a .NET newbie I will admit it. I have moderate experience in VB6 and am a decent C programmer. I recently got ahold of Visual Studio .NET and was asked to write a project using C++ .NET I created a simple ListBox and tried to add an item to it on the fly and I get a compile error about unmanaged vs managed arguments. My code is simple.
this->ListBox1->Items->Add("Hello");
this gives me the error. If I replace the "Hello" text with text from a textbox then it works fine, but this is not what I want to do. Any suggestions? I have also tried to prefix the argument in the Add method with an 'L' which also did not work. Thanks.
vr, Xei