wtc wrote:
 > I have a field to store the picture location. When double click on the
 > field, I want it auto look for the default photo viewer program in the
 > OS system to open it.
 > How to do it in foxpro? any sample for me to refer?
 >
 > TIA
 >



*Assume lcLocfilename has the full picture path and filename

oShell=NEWOBJECT("_ShellExecute",HOME(1)+"FFC\_environ.vcx")
oSHell.SHEllexecute(lcLocfilename)



_Ajit Abraham




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to