Re: recursive folders?

From: J French (erewhon_at_nowhere.com)
Date: 04/05/04


Date: Mon, 5 Apr 2004 08:02:14 +0000 (UTC)

On Sun, 4 Apr 2004 18:25:42 -0600, "Michael D. Ober"
<obermd-.@.-alum-mit-edu-nospam> wrote:

>FSO has it's place, but it isn't on every machine. As for the API call
>headers (and associated support features such as finding the end of a NULL
>terminated string), that's why I offered to post some of my code that uses
>the file finding API functions. FSO hides a lot of complexity, but at a
>sever performance penalty. My own library functions use both FSO and the
>API, depending on how important the speed of the function is. Fortunately I
>work in a controlled environment where I can quickly restore WSR.

It is dangerous to recommend things that work in a 'controlled
environment' but may not work in a 'standard environment'

Wrapping the FindFirstFile/FindNextFile API in a Class is not
particularly difficult
- and IMO - not a justification for using that monstrous FSO



Relevant Pages

  • Re: recursive folders?
    ... FSO has it's place, but it isn't on every machine. ... the file finding API functions. ... work in a controlled environment where I can quickly restore WSR. ... >> API as it will work on all machines. ...
    (microsoft.public.vb.general.discussion)
  • Re: Rename all files in a folder
    ... The timing example was for 1601 files and it was ten times as long using FSO ... Performance Comparison - FSO vs. API ... If you are operating in a wholly controlled environment, this may or may not be an ... uses native file i/o methods is not impacted by this policy. ...
    (microsoft.public.word.vba.general)
  • Re: Add item to Combo Box?
    ... >have to learn the ways of the API. ... You must remember that these posts will be around ... This *is* a friendly environment and don't let my comments ... because it is a learning experience for all. ...
    (microsoft.public.vb.general.discussion)
  • Re: Rename all files in a folder
    ... Although API, FSO, Windows Scripting won't do me any good on my home MacWord ... Is there a way to call a Perl script and use regular expressions with VBA? ...
    (microsoft.public.word.vba.general)
  • Re: Sudo: local root compromise with krb5 enabled
    ... My program respects the $ALLOW_ROOT_COMPROMISE environment ... You may think root compromises are bad, ... when one's security software has an "API" consisting of hundreds ... but not documented in the API documentation! ...
    (Bugtraq)