Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETDIR returns numeric
Message
De
10/11/1999 17:31:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
GETDIR returns numeric
Divers
Thread ID:
00289842
Message ID:
00289842
Vues:
67
I am having a problem with GETDIR and I can't figure out what is going on. GETDIR is returning a numeric (1) but if I SET STEP ON before the call to GETDIR it returns the correct character string. Also, if I run the GETDIR command two times in a row, one after another, the first one returns a numeric and the second one returns a character. I have tried retyping the code and that didn't make a difference. The code is basically:

LOCAL lcpath

lcpath = GETDIR("X:\RESELLER\", "Locate Images")

I have read the archived messages on this topic and would prefer not to use an OCX. I am also having problems getting the SelDirDlg Function from the downloads to work like I need to. It will not let me select a directory on another drive. Any suggestions would be greatly appreciated.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform