I am making my first steps in VB and thare are things completely different from VBA. In VBA I was able to run a module's code without a form incorporated. In vb , on the other hand, I see that a form is a must - any code has to start with a form with a control on it. Correct me if I'm wrong.
Another issue is handling the forms. This aspect is also different in VB. For examle, I a got a form1 with button1 that starts sub1. Within sub1 I load, by show method, another form, form2, that has a listbox1 on it. I have to chose an option from that listbox and click button2 on form2 to continue sub1 with the option chosen in mind. The problem is, when I call form2 all the controlls on it have no focus as form1 was still holding it . form1 persists and I am unable to close it. Can you please help me with these issues?
Thanks a lot!