ActivateFolder method
The ActivateFolder method is used to create active folders.
- Method
- short ActivateFolder ( char * pFolderName )
- Parameters
- pFolderName
Points to a null-terminated character string containing the name of the folder to be activated.
- Description
- The named folder becomes the active folder.
- Return Value
- Refer to return codes.
- Also see
- OpenFolder, CloseFolder, and CloseAllFolders methods
C/C + +
CArsOle * pArsCtrl;
short rc;
.
.
rc = pArsCtrl->ActivateFolder( "Henry's Folder" );
if ( rc != ARS_OLE_RC_SUCCESS )
ERROR;
.
.
Visual Basic
Dim rc As Integer
.
.
.
rc = ArsOle.ActivateFolder("Henry's Folder")
If rc <> ARS_OLE_RC_SUCCESS Then
MsgBox "ERROR"
End
End If
.
.
.