I am just learning the VB language. I specifically need to learn 6.0. Now I understand all the language specifics of VB. I understand the .BAS and .CLS formatts, but not the .FRM's.

I have found perty crappy documentation on VB Forms. It appears everyone wants to use a GUI. If someone can answer the following questions for me!

1) A Form encapsulates or holds what kind of code? (Event procedures?, .... ).

2) How would you create a simple form with like one button? I am interested in the event code for that object, how it needs to appear in the .FRM file, what that file needs to be named, and most importantly, HOW DOES MAIN CALL IT! Do you have to have a .BAS file with a main, and does it need to instinciate an instance of that form? Is there general constructor-deconstructor sub procedures that fit into a form?

3)Does each form need to hold only a couple specific components?

if anyone can answer and see the troubles I am having with forms, and answer them, or send me to a great tutorial, I would be very appreciative.

Thank you in advance!