Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gavsta2k

    Type cast to System::Object

    Hi, no this did not work eiter, turns out the correct code is: listBox1->Items->Add(gcnew String(row[i]));
  2. gavsta2k

    Type cast to System::Object

    I am using vc++ 2005 express and mysql. i am reading items in from a db which returns type Char* and i need to add the items to a listbox, if i do : listBox1->Items->Add(row[i]); i get error C2440: 'type cast' : cannot convert from 'char *' to 'System::Object ^' what is the best way round...

Part and Inventory Search

Back
Top