Hi,

How is your pic stored? As a path and filename to a picture file or do
you store the data of the image in your db?

If it's stored as a path and filename then you can call ShellExecute
with that path and filename and Windows will open it with the default
program for that type of file. You will need to make sure PhotoShop is
the default program for that file type.

Command := PChar(ImageFilename);
ShellExecute(0, Nil, Command, Nil, Nil, SW_SHOWNORMAL);

If you've stored the data then I'd stream it to a temporary file and
then ShellExecute as above. It's not a pretty solution but it should work.

For info on ShellExecute see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp

By the way, your post included a lot of CSS garbage at the top that
seemed to have been added by Skype. Please send email to the group in
plain text format.

Hope this helps,
Dave.

Dave Murray
Delphi-En Moderator
Glasgow, UK
[EMAIL PROTECTED]


--- In [email protected], appu kandan <[EMAIL PROTECTED]> wrote:
>
>   hi''
>    
>   i save one pic pgsql  data base.how to open that pic in photoshop.
>   and how to soom that pic. pls give to solution imm.
>    
>   A.Appu
> 
>                               
>






-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to