Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

KILL don't kill in VBA (Access 2000) with XP

Mr GOMEZ Bruno
Occasional Visitor

KILL don't kill in VBA (Access 2000) with XP

Hello
With Windows 98, KILL remove
With XP, KILL don't remove !
Do you know that ?
Merci
1 REPLY
Archunan Muthiah
Honored Contributor

Re: KILL don't kill in VBA (Access 2000) with XP

Hi,
there are so many ways, you follow this...

Sub Macro11()
Dim aFile As String
aFile = Dir("c:\temp\*.*", vbNormal)
While aFile <> ""
Kill "c:\temp\" & aFile
aFile = Dir
Wend
End Sub


Archunan
God is Artist, we are all just brushes