|
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 or higher. 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 |
|
Example |
If DelProgramGroup("NewGroup", 0) = 0
?
"NewGroup deleted...."
Endif