Set Any DEVMODE OCX VB.NET Sample
This sample is outdated, and it has been removed from the Document Imaging SDK.