Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PUTFILE():VFP 5.0 on Windows 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
PUTFILE():VFP 5.0 on Windows 2000
Divers
Thread ID:
00470377
Message ID:
00470377
Vues:
63
I have the following piece of code in on form class
lcFileName = ALLTRIM(PUTFILE('Delimited file:', ' ', 'CSV'))

and this one in another extremely similar form class
lcFileName = ALLTRIM(PUTFILE('Delimited file:', lcNewDir, 'CSV'))
where lcNewDir = SUBSTR(FULLPATH(CURDIR()),1, AT("\", FULLPATH(CURDIR())))

The same lcNewDir variable and code deriving it is in the first method also but is handled differently, CD &lcNewDir before the lcNewFile line (this is a program I inherited). I get an "invalid path or filename" error on the first one whe I click on the Save button of the Save As dialog screen but the second one works fine. Does the third argument of the PUTFILE() have to be something other than a blank? As far as I know, both work on systems running NT and Win95.

Regards...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform