:-):-) Rafael
On 12/07/2016 20:38, Ted Roche wrote:
On Tue, Jul 12, 2016 at 6:39 PM, rafael copquin rcopquin@yahoo.com.ar wrote:
In addition to all the answers you've got so far, I use this method:
Add the _shellexecute class from the _environ.vcx class library that ships with VFP 9 to a form
Name it 'launcher'
and run this code from the click event of a button:
Local cDocName
cDocName = GetFile('doc,xls,pdf,txt','File','Open',0,'Choose file') thisform.launcher.shellexecute (cDocName)
That's the best answer, the actual code. I was trolling around the archives, but couldn't locate it.