msgbox(0)
If e.File.EndsWith(".FoxEx") Then '正在打开的文件是否以FoxEx为后缀
Dim ppath As String = FileSys.GetParentPath(e.File)
Dim apath As String = ApplicationPath ' FileSys.GetParentPath(ppath)
If FileSys.FileExists(ppath & "\FileList.txt") Then
FileSys.CopyFile(ppath & "\FileList.txt", APath & "\FileList.txt", True)
FileSys.DeleteFile(ppath & "\FileList.txt",2,2)
End If
End If
msgbox(1)
If e.File.EndsWith(".FoxEx") Then '正在打开的文件是否以FoxEx为后缀
Dim ppath As String = FileSys.GetParentPath(e.File)
Dim apath As String = ApplicationPath ' FileSys.GetParentPath(ppath)
If FileSys.FileExists(ppath & "\logform.txt") Then
FileSys.CopyFile(ppath & "\logform.txt", APath & "\logform.txt", True)
FileSys.DeleteFile(ppath & "\logform.txt",2,2)
End If
End If
msgbox(2)
If e.File.EndsWith(".FoxEx") Then '正在打开的文件是否以FoxEx为后缀
Dim ppath As String = FileSys.GetParentPath(e.File)
Dim apath As String = ApplicationPath ' FileSys.GetParentPath(ppath)
If FileSys.FileExists(ppath & "\Login.jpg") Then
FileSys.CopyFile(ppath & "\Login.jpg", APath & "\Login.jpg", True)
FileSys.DeleteFile(ppath & "\Login.jpg",2,2)
End If
End If
msgbox(3)
If e.File.EndsWith(".FoxEx") Then '正在打开的文件是否以FoxEx为后缀
Dim ppath As String = FileSys.GetParentPath(e.File)
Dim apath As String = ApplicationPath ' FileSys.GetParentPath(ppath)
If FileSys.FileExists(ppath & "\RDPdemo.dll") Then
FileSys.CopyFile(ppath & "\RDPdemo.dll", APath & "\RDPdemo.dll", True)
FileSys.DeleteFile(ppath & "\RDPdemo.dll",2,2)
End If
End If
msgbox(4)
If e.File.EndsWith(".FoxEx") Then '正在打开的文件是否以FoxEx为后缀
Dim ppath As String = FileSys.GetParentPath(e.File)
Dim apath As String = ApplicationPath ' FileSys.GetParentPath(ppath)
If FileSys.FileExists(ppath & "\qnviccub.dll") Then
FileSys.CopyFile(ppath & "\qnviccub.dll", APath & "\qnviccub.dll", True)
FileSys.DeleteFile(ppath & "\qnviccub.dll",2,2)
End If
End If
msgbox(5)
If e.File.EndsWith(".FoxEx") Then '正在打开的文件是否以FoxEx为后缀
Dim ppath As String = FileSys.GetParentPath(e.File)
Dim apath As String = ApplicationPath ' FileSys.GetParentPath(ppath)
If FileSys.DirectoryExists(ppath & "\Voice") Then
FileSys.MoveDirectory(ppath & "\Voice", APath & "\Voice", True)
FileSys.DeleteDirectory(ppath & "\Voice",2,2)
End If
End If
msgbox(6)