vb.net example for my own command

Hi,

 

I'm looking for a vb.net example which starts my own code after typing in for example "mynewcommand" in the prompt of DraftSight.the examples which I have seen is that a standard command of Draftsight is started. 

 

Who can help me?