FZ_FormBase.RemoveFile

Removes file/directory

Public Shared Function RemoveFile( _
    ByVal pathName As String _
) As Integer

Parameters
pathName
Path name
Input

Return Value
Returns 0 when file/directory is successfully removed.
Otherwise returns a non-zero value.

Description
Removes all of file which is specified by *.* etc. wildcard.
When the directory is specified, it will removing besides sub directory and files。

Example
    Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click

        ' Removes file
        RemoveFile()

    End Sub