Execute a command programmatically

Discussion created by Gagag on Feb 24, 2011
Latest reply on Mar 4, 2011 by Gagag
I have developed a command that implements ICommand and ITool. This command is registered in the ESRI MX Commands category. How can I execute this command programmatically without having to add it to a toolbar or a commandbar?