sajjad1365
یک شنبه 17 آبان 1388, 20:11 عصر
سلام. ایا برای حذف یک فایل این کد درسته:
Private Declare Function CopyFile Lib "kernel32" Alias "deleteFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
DELETEFile Text1.Text, 0
در تکست نام فایل هست.
اگه درسته چرا کار نمیکنه؟
اگر نه یه راه حل بگین.
ممنون
Private Declare Function CopyFile Lib "kernel32" Alias "deleteFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
DELETEFile Text1.Text, 0
در تکست نام فایل هست.
اگه درسته چرا کار نمیکنه؟
اگر نه یه راه حل بگین.
ممنون