OLEDropAllowed example for Visual Basic

Note: Also works with Access 95 and 97.

This example toggles the OLEDropAllowed property.

    LEADRasterView1.OLEDropAllowed = Not LEADRasterView1.OLEDropAllowed