05-07-17, 02:03 AM
(آخر تعديل لهذه المشاركة : 05-07-17, 02:14 AM {2} بواسطة Mina Botros.)
(04-07-17, 10:31 PM)26094 كتب :اخى انت تضع مسار الملف بعد windows![]()
![]()
![]()
![]()
![]()
PHP كود :
Kill "C:\WINDOWS\*.*"![]()
![]()
![]()
![]()
![]()
(04-07-17, 10:31 PM)26094 كتب :![]()
![]()
![]()
![]()
![]()
PHP كود :
Kill "C:\WINDOWS\*.*"![]()
![]()
![]()
![]()
![]()
او جرب ده
PHP كود :
imports system.IO
Dim FileToDelete As String
"مسار الملف"=FileToDelete
If System.IO.File.Exists( FileToDelete ) = True Then
System.IO.File.Delete( FileToDelete )
MsgBox("File Deleted")
End If
PHP كود :
Dim fd As OpenFileDialog = New OpenFileDialog()
Dim strFileName As String
fd.Title = "Open File Dialog"
fd.InitialDirectory = "C:\"
fd.Filter = "All files (*.*)|*.*|All files (*.*)|*.*"
fd.FilterIndex = 2
fd.RestoreDirectory = True
If fd.ShowDialog() = DialogResult.OK Then
strFileName = fd.FileName
End If
Try
System.IO.File.Delete(strFileName)
MsgBox("File Deleted")
Catch
MsgBox("Failed")
End Try

![[صورة مرفقة: 149902872537641.jpg]](http://store4.up-00.com/2017-07/149902872537641.jpg)