Error 6027 - Unknown identifier
The problem here is with the name that you gave to a textbox (or status line) in painter.
The code that you copied refers to textBoxTitle.
Perhaps you named it textboxtitle or left it with its original name textBox1.
Perhaps you did not save your changes in painter.
Instructions
- Click the
button to start painter.
- Select the File | Edit File... menu command.
The Load Form dialog is displayed.
- Select AddBookForm and click the OK button.
- Double click each textbox and status line on the AddBookForm
and ensure the names are as specified on page 33.
- Click the
toolbar button to save the AddBookForm.
- Select the File | Exit Painter menu command to return to the Class Browser.
- In the Class Browser, select the AddBookForm.
- In the properties window, select buttonOK.
- In the methods window, select click. The buttonOK_click method is displayed.
- Select the Methods | Compile Method menu command.
The status line displays «Compilation complete - no errors»
|