CreateFolder Method


Create a folder in local disk recursively.

[Syntax]
Visual C++: HRESULT CreateFolder(BSTR FolderName, long* pVal) 
Visual Basic: CreateFolder(FolderName As String) As long
FolderName
Name of the directory to be created.

Return Value

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

Remarks

Additional function to create temporary directory.

See Also

SaveMail Method