Please be more clear in what you're trying to do.
If you are trying to press a button in your own program, you can call the command button's Click function.
If you are trying to press a button in another program, you will have to use something like SendKeys.
Or, the better way, use the...