OLEDropAllowed example for Visual Basic

This example toggles the OLEDropAllowed property.

If Lead1.OLEDropAllowed = False Then
  Lead1.OLEDropAllowed = True
Else
  Lead1.OLEDropAllowed = False
End If