PDMW and check out example with VB

Hallo,
I am the first time in this forum and i hope someone could help me.
I am looking for Example - code in VB to check out a document
from PDM-Works.

Thanks for your help

HaraldSolidworksApi macros