Hi...
Is there any simple VB command to delete a file?
dim A as string
A="C:\windows\test.tmp"
Delete A (???)
(Definitly a rookie question!!)
thanks in advance
Printable View
Hi...
Is there any simple VB command to delete a file?
dim A as string
A="C:\windows\test.tmp"
Delete A (???)
(Definitly a rookie question!!)
thanks in advance
Try this
VB Code:
Option Explicit Private Sub Command1_Click() Kill "C:\windows\test.tmp" End Sub
Hope this helps!!
:wave: :thumb: :wave:
Many thanks ...
I'll try as soon as I can.. :thumb: :thumb: