Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create multiple yet unique desktop shortcuts?
Message
De
09/09/2002 23:44:54
 
 
À
09/09/2002 22:56:50
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00698572
Message ID:
00698618
Vues:
26
>Hi Elmer:
>
>Thankyou for taking the time to respond. I will study the code and probably will have more questions for you, if thats ok. Thanks again.

Hi Henry,

I just noticed that the code that I supplied contains a call to cre8dir() which is one of my UDF's that I did not supply. Basically it is a function that checks for the existance of a specified folder and if it does not exist, it creates it and returns .t. if the folder exists or was created. I can let you have this function if you want but it uses foxtools.fll and I did not want to create even more dependencies for you.

If you are sure that the folder exists, you can remove the call to
cre8dir(m.lcInFolder) and it will work fine or you may change the code to return .f. if !directory(m.lcInFolder)
To remove the call to cre8dir() change the code as follows:
	if !empty(m.lcInFolder) &&& .and. cre8dir(m.lcInFolder)
		if !directory(m.lcInFolder)
                     return .f.
                endif
		lcFolder = m.lcInFolder			
	endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform