On which line is your error occuring?
However, you declare the cnn1 object, but you never instantiate it. So the first time you try to use it, you would get the error you indicate.
You need to add this line before you attempt to use the cnn1 object:
Set cnn1 = new ADODB.Connection
You might think you are doing this in your Form_Load event, but this isn't correct. You declare an object with the same name there, and instantiate it, but then the Form_Load event ends without you doing anything with it. This is a scope problem. You have declared two separate cnn1 objects - one in Form_Load, and one in Command1_Click. They are not the same object - the are two objects of the same type.
You are also going to have problems with your rstAlianza object - you declare it outside the scope of any method, but you never instantiate it.
There are numerous other problems with your code. I would advise that you get a beginners book on doing data access with VB6 and go through all the exercises. You'll learn a lot.
Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems