| | |
[Beginner] Visual c++, cannot use multi forms
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
i tried to open another form from the solution when i clicked a button, but i cannot make it work, the errors are;
and the code is;
i need some very simple advice i guess
Error 3 error C2061: syntax error : identifier 'ayarlar' c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 2 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 4 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 212 Error 7 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 213 Error 1 error C2065: 'ayarlar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 5 error C2227: left of '->set' must point to class/struct/union/generic type c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 212 Error 8 error C2227: left of '->Show' must point to class/struct/union/generic type c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 213 Error 6 error C2232: '->System::Windows::Forms::Form::Owner::set' : left operand has '' type, use '.' c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 212
and the code is;
private: System::Void button11_Click(System::Object^ sender, System::EventArgs^ e) {
ayarlar ^ayar = gcnew ayarlar;
ayar->Owner::set(this);
ayar->Show();
}
![]() |
Similar Threads
- visual programming (C++)
- visual c++ 6 (C++)
- Quick question in Visual C# (C#)
- compare multi-dimensional arrays and return they keys who's values are different (PHP)
- Beginner help for visual basic (Visual Basic 4 / 5 / 6)
- About Picture Box in Visual Box Help Please! (Visual Basic 4 / 5 / 6)
- Where can I get E-Book for Visual Basic (Visual Basic 4 / 5 / 6)
- NEED Visual Basic tutorials (Visual Basic 4 / 5 / 6)
- 2 forms on a website interfering with each other (HTML and CSS)
- Beginner- Karoke Style Needed (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: std::vector and for loop questions
- Next Thread: Using C++ abstract class setters?
| Thread Tools | Search this Thread |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





