I'll look at that Thanks Ted

-----Original Message-----
From: ProfoxTech <[email protected]> On Behalf Of Ted Roche
Sent: 02 August 2019 14:56
To: [email protected]
Subject: Re: Get file path and name from file handle

Sent by an external sender
------------------------------

On 02/08/2019 13:22, Paul Newton wrote:
> Hi all
>
> How can I get a file path and name from a file handle (returned by
FCREATE)?  I am sure that there is a Windows API to do this but I cannot 
workout how to call it from VFP.

That question is a doozie! What corner have you gotten yourself painted into?

More info would be helpful.

I think a string search on a FileToStr() on a LIST STATUS TO FILE might do it, 
but (Happy Days!) there aren't any Windows machines handy for me to test it.

--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/mn2pr02mb5967c6c8cba6b5c79f375ed4a1...@mn2pr02mb5967.namprd02.prod.outlook.com
** 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