Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP50 - Icon on Desktop/Start up
Message
De
27/08/1998 10:27:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00129680
Message ID:
00130512
Vues:
31
Hello George,

I have been able to create a short cut on my desktop but I can't
set the default working directory for the executable.
I have tried several strings for the LCPATH variable and all I get
back is the value of false for the LLRESULT variable.

The questions are:
1. What am I missing that I can't get a value for the llRESULT
variable?
2. Since I will be installing using the setup wizard that comes with
VFP 5.0, how do you handle the situation when the user changes the
executable installation directory?

Do you have a sample code?

Thank you again and here is the code I have to get the working dir
for my exe.

******************************************************************
DECLARE INTEGER SetLinkWorkDir IN LNKFILES.DLL;
INTEGER hWnd, STRING @lpszLinkName, STRING @lpszPath

lclinkfile = 'C:\WINDOWS\DESKTOP\My Executable Link.LNK'
lcpath = 'C:\PROJECTS\MSCONLINE5\'
llresult = (SetLinkWorkDir(0, @lclinkfile, @lcpath) = 0)
******************************************************************

>>Thank you George, I'll be playing with your DLL today.
>>
>Hi Morys,
>
>Please feel free to ask any questions, or give me any other feedback.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform