How To Make A Keygen In Visual Basic. Most commercial software uses some form of random keys to authenticate and register a legitimate copy when the. Microsoft Visual Basic is a very powerful tool that allows you to quickly and easily set up the design of a program and just as easily allows you to code.