Refer to the LceGetMessage 6.35.1 VB Example.