by Shahid Rasool (8 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 23rd December 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes the file will be deleted and no as you know
Dim Prompt As String
Dim Reply As Integer
Prompt = "Are You Sure You Want To Delete"
Reply = MsgBox(Prompt, vbYesNo)
If Reply = vbYes Then
Kill (File1.Path & "\" & File1.FileName)
File1.ListIndex = File1.ListIndex + 1
File1.Refresh
Else
Resume Next
End If
No comments have been posted about This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes t. Why not be the first to post a comment about This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes t.