KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q190882: SAMPLE: FSOSAMP.EXE Application Uses the FileSystem Object

Article: Q190882
Product(s): Microsoft Visual Basic for Windows
Version(s): WINDOWS:6.0
Operating System(s): 
Keyword(s): kbfile kbsample kbVBp600 kbGrpDSVB kbFSO
Last Modified: 11-JAN-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual Basic Learning Edition for Windows, version 6.0 
- Microsoft Visual Basic Professional Edition for Windows, version 6.0 
- Microsoft Visual Basic Enterprise Edition for Windows, version 6.0 
-------------------------------------------------------------------------------

SUMMARY
=======

FsoSamp.exe is a self-extracting executable file containing a Microsoft Visual
Basic project that demonstrates the use of the FileSystem Object (scrrun.dll)
that ships with the versions of Visual Basic listed above.

This "Explorer" style sample application demonstrates accessing the properties of
Drives, Folders, and Files, as well as creating and editing text files on the
machine in which it is running.

MORE INFORMATION
================

The following files are available for download from the Microsoft Download
Center:

  Fsosamp.exe
  (http://download.microsoft.com/download/vb60ent/Sample3/1/W9XNT4/EN-US/Fsosamp.exe)

For additional information about how to download Microsoft Support files, click
the article number below to view the article in the Microsoft Knowledge Base:

  Q119591 How to Obtain Microsoft Support Files from Online Services

Microsoft used the most current virus detection software available on the date of
posting to scan this file for viruses. Once posted, the file is housed on secure
servers that prevent any unauthorized changes to the file.

When you run the self-extracting executable file, the following files are
expanded into the FileSystem Object Sample Project directory:

  About.frm
  About.frx
  Cdrom02.ico
  Computer.ico
  Drive01.ico
  Drive02.ico
  DriveProperties.frm
  DriveProperties.frx
  Edit.frm
  Edit.frx
  File.ico
  FileProperties.frm
  FileProperties.frx
  Files08.ico
  Folder1.ico
  Folder2.ico
  FolderProperties.frm
  FolderProperties.frx
  Fso.bas
  Fso.exe
  Fso.vbp
  fso.vbw
  Fsosamp.exe
  Main.frm
  Main.frx
  Pc04.ico
  Splash.frm
  Splash.frx


Additional query words: kbdss kbDSupport kbVBp kbVBp600 KBSAMPLE

======================================================================
Keywords          : kbfile kbsample kbVBp600 kbGrpDSVB kbFSO 
Technology        : kbVBSearch kbAudDeveloper kbZNotKeyword6 kbZNotKeyword2 kbVB600Search kbVBA600 kbVB600
Version           : WINDOWS:6.0
Issue type        : kbhowto

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.