In COM mode: Application.serverName https://msdn.microsoft.com/en-us/library/aa978311(v=vs.71).aspx
Thierry Nivelet http://foxincloud.com/ Give your VFP app a second life in the cloud Thierry Nivelet http://foxincloud.com/ Give your VFP app a second life in the cloud > Le 14 juil. 2017 à 11:01, Paul Newton <[email protected]> a écrit : > > I will take a look - thanks Alan > > -----Original Message----- > From: ProfoxTech [mailto:[email protected]] On Behalf Of Alan > Bourke > Sent: 14 July 2017 09:59 > To: [email protected] > Subject: Re: Alternative to PROGRAM() and SYS(16,n) > > Seems as good an approach as any. > > Take a look at this article though: > https://blogs.msdn.microsoft.com/calvin_hsia/2007/09/13/run-your-application-forms-on-the-web/ > > There is a function at the bottom there which uses the Windows API > GetModuleFilename() function in the context of a VFP OLE server. > > -- > Alan Bourke > alanpbourke (at) fastmail (dot) fm > [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: 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.

