Re: Delete folder
- From: "Bob Butler" <tiredofit@xxxxxxxxxx>
- Date: Fri, 30 Dec 2005 08:47:14 -0800
"frodereck" <frodereck@xxxxxxxxx> wrote in message
news:1135960271.903455.138990@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> The RmDir statement, like many of the VB built-in file handling
> functions, is not always reliable.
I guess that depends on your definition of reliable. VB's built-in file
handling is quite reliable, it just may not be forgiving if you use it
incorrectly.
> If your current directory is the
> one that you want to remove, then RmDir may not work. In such a case
> you must change your current directory using the filesytemobject, or
> better yet the API function SetCurrentDirectory.
or maybe even VB's ChDrive and/or ChDir statements
> While you are at it,
> you might as well use the RemoveDirectory API function.
No need; the VB file handling statements are quite up to the job
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
.
- References:
- Delete folder
- From: David
- Re: Delete folder
- From: frodereck
- Delete folder
- Prev by Date: Re: Delete folder
- Next by Date: Re: Subclassing compilation crash
- Previous by thread: Re: Delete folder
- Next by thread: Re: Delete folder
- Index(es):