This is a discussion on Actove Directory within the VB.NET Programming forums, part of the Software Development category; hi all,, how to delete a file using the Delete method ..? Thank you sundaram...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hi Shows how to delete a file using the Delete method Code: Dim objFSO, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("c:\test.txt", True)
objFile.Close
Set objFile = objFSO.GetFile("c:\test.txt")
objFile.Delete
__________________ M.Ramesh Kumar |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Active Directory Requirement | nnraja | Server Management | 1 | 10-17-2007 03:06 AM |
| Spool directory | vigneshgets | Operating Systems | 1 | 08-17-2007 11:20 PM |
| How can I create a virtual directory (or map virtual directory) for my website in TFS | kingmaker | ASP and ASP.NET Programming | 1 | 07-27-2007 05:34 AM |
| What is your best PHP Directory Script? | moinuddin102 | PHP Programming | 1 | 04-24-2007 12:03 AM |
| Directory Size | pranky | PHP Programming | 0 | 02-24-2007 12:04 AM |