I don't see any reference needed for the 'lstCustomer' textbox code. It's only used in Form.vb
. Are you sure you didn't misplace some codes?
: [u]Error SelectedCustomer, not declared</u>
You seem to have forgotten to input this code inside Form.vb
Public ReadOnly Property SelectedCustomer() As Customer
If lstCustomers.SelectedIndex <> -1 Then
It happens to me all the times, I think VS 2005 won't let it as compared to whatever IDE's version the author is using.
All you have to do is to replace [u]DialogResult.Yes</u> with [u]Windows.Forms.DialogResult.Yes</u>