Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

DelProgramGroup( )

Action: Instructs Program Manager to delete an existing program group.
 
Syntax: DELPROGRAMGROUP ("group name", common group flag)
 
Parameters: Group name

Identifies the group to be deleted.

Common group flag

Optional numeric parameter. This parameter is available only on Windows NT. Common group flag can have the following values:

0
Deletes a personal group.
1
Deletes a common group. The current user must have administrative privileges, otherwise the function fails.
 
Remarks:

When this function runs, no confirmation is asked nor warning given.
 

Returns:
0 Program group deleted
Error code Function failed  
 
See Also: AddProgramGroup( ), AddProgramItem( ), DelProgramItem( )
 
Example:

If DelProgramGroup("NewGroup", 0) = 0
  ? "NewGroup deleted...."
Endif