Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have occasionally encountered customer machines where <code>FileSystemObject</code> didn't work, presumably because of paranoid IT departments disabling it somehow. I now try to avoid <code>FileSystemObject</code> if possible.</p> <p>You can usually replace the <code>FileSystemObject</code> with native VB6 code or API calls direct to the Windows API. For example Karl E Peterson's excellent <a href="http://vb.mvps.org/samples/" rel="nofollow noreferrer">VB6 website</a> has some great objects written entirely in VB6. </p> <p>Some examples </p> <ul> <li><a href="https://stackoverflow.com/questions/1587591/getting-error-on-while-reading-a-blank-text-file/1588248#1588248">Read</a> an entire text file into a string. </li> <li><a href="https://stackoverflow.com/questions/1135614/how-to-find-if-the-network-path-is-available-or-not/1136408#1136408">Check</a> whether a directory exists. </li> <li><a href="http://msdn.microsoft.com/en-us/library/bb773584%28VS.85%29.aspx" rel="nofollow noreferrer">Check</a> whether a file exists. </li> <li><a href="http://vb.mvps.org/samples/project.asp?id=DirDrill" rel="nofollow noreferrer">Search</a> for files recursing through sub-directories. </li> <li><a href="https://stackoverflow.com/questions/1147123/how-to-select-path-only/1152791#1152791">Convert</a> a file path to drive and directory only. </li> <li><a href="https://stackoverflow.com/questions/2880780/how-to-get-datetime-stamp-of-a-textfile-using-vb-6/2881112#2881112">Get file date/time stamp</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload