DeleteFile Method

Delete specified file from local disk.

[Syntax]
C++: HRESULT DeleteFile( BSTR sFile, long* pVal ) 
Visual Basic: DeleteFile( sFile As String ) As long
C#: long DeleteFile( string sFile )

Parameters

sFile

Name of the file to be deleted.

Return Value

If this method succeeds, the return value is zero. If it fails, the return value is non-zero.

Remarks

Additional function to delete temporary file.

See Also

ImportFile Method


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.