For anyone interested in calling the CryptoAPI from VB:

John Wiley & Sons has just published "Cryptography for Visual Basic: A Programmer's
Guide to the Microsoft CryptoAPI."

Open Source code and manual are available at

Bruce Schneier's endorsement:
"This is essential reading for anyone who needs to understand Microsoft’s
CryptoAPI,its strengths and its limitations."—Bruce Schneier, author of Applied
Cryptography and CTO of Counterpane Internet Security, Inc.

Richard Bondi
(the author)