Consuming and MSMQ Message

I have been experimenting with NAS and MSMQ with some good results, my only problem is, how do I report to MSMQ that the message has been received??? If I test MSMQ by sending a message, the NAS instance reads it over and over and over and reacts to it until I go into MSMQ and delete it manually. I am sure it is someting simple, but I cannot find any examples. Thanks

If you are using the ‘Navision Communication Component version 2’.InMessage remember to call the InMsg.CommitMessage(); to get rid of it on the MSMQ server.

I have used this for another purpose where InMsg.CommitMessage(); is to be //InMsg.CommitMessage(); commented out in order to work (?) Best regards