Hello i am making a simple program in visual c++, i have it so that when i hit a button the Open File dialog pops up. But when i open something i want it to return the file name of what i opened so that my program my deal with it.
Here is my attempt
The error i receive.Code:string account2; account2 = openFileDialog1->FileName;
binary '=' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
Can someone please step me in the right direction? Many Thanks - marsh




Reply With Quote