VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Deleting the file without API

by Rahul chaudari (1 Submission)
Category: Databases/Data Access/DAO/ADO
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 29th March 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Deleting the file without API

API Declarations


'Take the dirlistbox, drivelistbox, Filelistbox on the form with
' one commandbutton

Rate Deleting the file without API



   Kill (File1.Path & "\" & File1.List(File1.ListIndex))
   File1.Refresh
   File1.Selected(1) = True
   File1.SetFocus
 End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
Private Sub Form_Load()
Form1.Top = 2200
End Sub


Download this snippet    Add to My Saved Code

Deleting the file without API Comments

No comments have been posted about Deleting the file without API. Why not be the first to post a comment about Deleting the file without API.

Post your comment

Subject:
Message:
0/1000 characters