>>I got the cursed C5 error with GetPict() as well. Or some GPF, perhaps; I don't remember exactly.
>>
>>Use GetFile() instead. This doesn't incorporate preview, though.
>>
>>Or perhaps you can tame the API monster (use the corresponding Windows API function). Don't ask me how.
>>
>>HTH, Hilmar.
>
>You might be right, I never had problems with getfile() and since the costumer haven’t seen the application yet he will not miss it.
Well ... it just occurs to me that you might also write a custom form to replace GetPict(). But this is probably not worth the trouble.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)