If you are using ProRibbon or any other library which is related to Windows Vista a program should stop working with a messagebox. The following snippet can be used to fullfill that task.