IsAvailable Example for Visual FoxPro 6
&& check the status of TWAIN If oRasterTwain.IsAvailable (ThisForm.RasterView1.Window) Then MessageBox("Twain is installed") Else MessageBox("Twain is not installed") EndIf