Re: Mass delete files and directories
- From: Robert Morley <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 06 May 2008 15:35:31 -0400
Actually, size-wise, Boolean is equivalent to Integer in VB.
Strangely, all VB samples I can find have that field as Long, so I'm honestly not sure why I have it as Boolean myself! But it was worth a shot, anyway. Like you, I remember stumbling across a problem a long time ago relating to one particular OS, but it's so far gone that I don't remember the what & why of it. The fact that I have the one field declared as a Boolean when everything else says it should be Long, though, made me suspicious that that might be the case.
Rob
Grand_Poobah wrote:
I checked with the MSDN site and the API reader before I inserted the code into my program. The definition is Boolean instead of Long. Size-wise it makes no difference, but Type-wise is probably does..
A short test program to all four testers produced a Copy, Move, and Delete on three machines, and three failures on the one machine. I am beginning to wonder if maybe the OS on his machine might be something like Win2K or W98 with a strange version of the "shell32" library. In all three failures, the source file was not moved or deleted which would indicate that the API call blew out.
GP
- Follow-Ups:
- Re: Mass delete files and directories
- From: expvb
- Re: Mass delete files and directories
- References:
- Mass delete files and directories
- From: Grand_Poobah
- Re: Mass delete files and directories
- From: Mike Williams
- Re: Mass delete files and directories
- From: Grand_Poobah
- Re: Mass delete files and directories
- From: Robert Morley
- Re: Mass delete files and directories
- From: Grand_Poobah
- Mass delete files and directories
- Prev by Date: Re: DHSQLite
- Next by Date: Re: Mass delete files and directories
- Previous by thread: Re: Mass delete files and directories
- Next by thread: Re: Mass delete files and directories
- Index(es):
Relevant Pages
|