>Thats the tricky part. The file might be anything, mostly there should be a the use of ole possible. But it could be a textfile, a picture, wathever you want. Normaly I call the associated programm using ShelklExecute, but now they want a preview.
>
>
>Agnes
Open will give you a preview. We need to open it in read-only mode, though. Don't remember the flag for this, but I guess it's part of ShellExecute.
If it's not broken, fix it until it is.
My Blog