>>>how to use a csanner from vfp ?
>>
>>As long as you are targeting TWAIN-compliant scanners (which is the majority these days), you could use an ActiveX like Viscom's scanner control (
www.viscomsoft.com.) It comes with pretty comprehensive samples for VFP, and has worked quite well for me. It has a few quirks here and there, but overall it is a capable, multi-talented and reasonable priced (US $75 for single developer unlimited distribution license) control that can have OCR capabilities as well (for additional price.)
>
>
>I have had little to no luck getting TWAIN devices to work in Vista. Are you using the Viscom control in Vista?
No, I'm using it in XP. Viscom claims it works fine in Vista (and Windows 7, for that matter), but you can check it out yourself by downloading their trial version.