Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
Home > Courses > Access > Developer > D34 > < D33 | D35 >
Access Developer 34

File System Object Lessons 3-5, Lots More!

 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Buy Now


Today's class continues working with the File System Object. We'll do a lot with copying files and folders (including entire folders along with their subfolders). We will learn how to read and write files. We'll make a customer data change file that we can email to the customer, have them make changes, and then import those changes back into the database. We'll see how to send email with Outlook.


Topics Covered

In Lesson 1, we will continue working with the File System Object. We will learn about CopyFolder, MoveFolder, DeleteFolder, listing all files in a folder, CopyFile, CopyFile with wildcards, CopyFile with a loop of the Files collection, and how to copy files based on their properties (files of a certain size, modified date, etc.).

In Lesson 2, we will learn how to write text files using the TextStream object. We will learn about CreateTextFile, Write, WriteLine, and WriteBlankLines. We will create a customer text file with all of the information we want to send to the customer for review and edit (name, address, phone, etc.) We will learn two ways to send email using Outlook (SendObject and Outlook.Application) so we can send the customer text file as an attachment. We'll convert the email code from Early to Late Binding.

In Lesson 3, we will learn how to read text files. We'll learn about OpenTextFile, Read, ReadLine, and ReadAll. We'll learn to tell when were AtEndOfLine and AtEndOfStream (the file). We will read in the changes that the customer made to their data file, update their customer record, and track changes in a change log.

Enroll Today

Enroll now so that you can watch these lessons, learn with us, post questions, and more.


Please feel free to post your questions or comments below. Thanks.


Start a NEW Conversation
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

You may want to read these articles from the 599CD News:

12/3/2021Access Beginner 2
12/3/2021Access Beginner 2 Lessons
12/3/2021Access Beginner 2
11/30/2021Import Multiline Cells
11/30/2021Adam's Access Games
11/29/2021Prevent Close
11/22/2021Currency Symbols
11/13/2021Access Developer 36

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: access developer 34 file system object opentextfile createtextfile copyfolder copyfile file properties folder properties folderexists fileexists customer export import change data file open text file, create text file, copy folder, copy file, folder exist  Page Tag: whatsnew  PermaLink