How to Use CertCreateSelfSignCertificate

Can anyone help on how to use CertCreateSelfSignCertificate in VB.
I didn't find any example or help on how to programmaticaly create a certificate in VB.
Your help is desperately needed.
Thanks
[221 byte] By [janadel] at [2007-11-20 11:29:42]