Oilify example for Visual Basic

Note: Also works with Access 95 and 97.

This example applies an oil-painting effect and repaints the image. The progress event is enabled because this the Oilify method, with a neighborhood of 10, is slow.

Lead1.EnableProgressEvent = True
Lead1.Oilify 10
Lead1.ForceRepaint