The type '<type name>' has no property named '<property name>'
The type specified in the error message has no property of that name. The example below demonstrates a type with an unsupported field name:
Form1.Aluminum = True
form1.Aluminum = True;
To correct this error
Use a property that is supported by that type. In reference to the above example, code similar to the following is appropriate:
Dim mainForm as new Form mainForm.AllowDrop= True
Form mainForm = new Form(); mainForm.AllowDrop= true;