Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Location of a VFP exe
Message
De
27/07/2000 13:52:34
Walter Meester
HoogkarspelPays-Bas
 
 
À
26/07/2000 03:37:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00396912
Message ID:
00397745
Vues:
10
Ed, Andrew,

I remember that when starting a VFP application as an out of process server object, the SYS(16,0) function does not return the correct path, _VFP.servername OTH does.

Walter,

>>application.servername (or _vfp.servername)
>>
>
>Or SYS(16,0)
>
>>Cheers,
>>
>>Andrew
>>
>>

>>
>>>I am looking for a VFP command that will return the path of the running exe that the Delphi command below returns:
>>>
>>>Delphi command~"ExeLocation := ExtractFilePath(Application.EXEName);"
>>>
>>>Note: the reason I need this is that MS's new Visaul Installer creates shortcuts with an empty "start in" location. When I try to set help to myhelpfile it no longer finds my help file which is in a subfolder below my exe's folder. If I launch my exe from it's on folder there are no error messages. When launched from the shortcut, the help file is not found and errors result. I wrote a DLL in Delphi to obtain the true location of my vfp exe, but it seems as though there should be a command in VFP. Sys(5)+Curdir() seems to return the location of the VFP runtime dll.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform