Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Scripting object
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00453480
Message ID:
00453881
Views:
33
>>I'm tring to convert this code from vbs to vfp. It simply list a list of files in a certain directory.
>
>Am I alone here in thinking ADir()?
>
>lnFiles = ADir(aFiles, 'c:\test\*.*')
>for lnI = 1 to lnFiles
> ?aFiles[lnI]
>endfor

...and this should be
lnFiles = ADir(aFiles, 'c:\test\*.*')
for lnI = 1 to lnFiles
	?aFiles[lnI, <B>1</B>]
endfor
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform