>Hi,
>
>I have the following problem:
>
>I store a filename in an memo. This could be a file of any type, just as the user wishes.
>
>Now the user wants me to give a preview of this file in VFP (if possible).
>
>What object should I use?
>
>Agnes
Use ShellExecute and let Windows open the file with the default executable for this kind of files. However, if there is no file association, you would not be able to open the file.
If it's not broken, fix it until it is.
My Blog