HI
   
  I am save the pic in one path.for ex C:/temp/temp.jpg. how to open that file 
in photoshop.if i use the same below commend .what is the variable type in 
"command".
   
  A.Appu

appu kandan <[EMAIL PROTECTED]> wrote:
  Hi
   
  Thanks for u replay. But i save in database pic only. so i want that pic open 
in photoshap. i thing one component in savepicture dialog. hoe to use that 
component. pls give to soruce. And u r codeing i thing "command" is variable, 
what is the the  data type for "command".
   
  pls i want immedite solication for that.
   
  A.Appu

Dave Murray <[EMAIL PROTECTED]> wrote:
  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 delphi-en@yahoogroups.com, 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] 



  SPONSORED LINKS 
        C programming language   Computer programming languages   Java 
programming language     The c programming language   C programming language   
Concept of programming language 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "delphi-en" on the web.
    
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  



                        
---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]



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



  SPONSORED LINKS 
        C programming language   Computer programming languages   Java 
programming language     The c programming language   C programming language   
Concept of programming language 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "delphi-en" on the web.
    
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  



                                
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]



-----------------------------------------------------
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