Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows explorer index
Message
From
02/03/2009 10:53:00
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01384949
Message ID:
01384974
Views:
38
>>Hi
>>
>>Help please,
>>
>>I have to collect the entire content of network drive (files&folders) and to show it on grid within VFP with few order searching options.
>>The network drive contain about 7500 files, 15 main folders and few dosens sub folders/sub sub folders.
>>
>>I created table with "Scripting.FileSystemObject" but it's take about half a minuts to run and I have to zap and repopulate the table for each update.
>>
>>It is possible to grab update information from windows server/other and to show it on grid (and to update the grid by fast refresh?)
>>Any other help on this subject?
>>
>>Btw
>>1. I have to get folders with spaces/long names/hebrew names etc (I have it by FSO but it's problem with native vfp).
>>2. juststem,justfname,justext..., but how can I get file name without extention?
>>Thank's
>
>Does ADIR() work for you? I also agree with Edward that it may be better to use TreeView interface instead of the grid here and only get the root level files.

Actually, I meant that regular grid could be made to work the same way as TreeView. And I agree with you that plain ADIR() would be sufficient for this scenario.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform