🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages Started by Gary Fowler Thu, 28 Jan 1993 22:09
VB: Recognizing File System Changes
#2419
Author: Gary Fowler
Date: Thu, 28 Jan 1993 22:09
22 lines
1593 bytes
How can I make a File List Box recognize changes to the file system?
I know that I can use the Refresh method to force the File List Box
to update but how do I know when to refresh it?  If my application
changes the contents of the directory then I can simply do a refresh
at that time, but what if another application changes the contents
of the directory?  Is there an API call that will cause the application
to be notified?  There must be some way to do it because the File Manager
gets notified.  I guess I could set a timer event to refresh periodically
but I'd rather not waste cpu cycles.  Any suggestions would be greatly
appreciated.

Thanx,
Gary Fowler

********************************************************************************
*     Gary Fowler                     *     The storm starts when the drops    *
*     gfowler@esunix.sim.es.com       *     start dropping.  When the drops    *
*     Evans & Sutherland              *     stop dropping then the storm       *
*     600 Komas Drive                 *     starts stopping.                   *
*     Salt Lake City, UT              *     -Dr. Seuss                         *
********************************************************************************
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads