Look in
this thread, where the poster asked basically the same question. There are some real answers there.
Basically you need to make calls to the DBP DLLs which actually contain the commands (like DBProBasic3DDebug.DLL) and call the command from within it. Essentially you're doing the exact same thing as calling whatever command from within DBP itself. The thread I linked to has some tips which narrow down a bit more
how to call the commands from the DLLs, but if you need more help it should be in your documentation or on MSDN.
edit hmm... maybe I should be more mindful of post dates
this board doesn't seem to be quite as active as the others...