Hi,

Any one please help me working with forms. I have created two forms frist one form1 then i have created a login in form. Now when i debug form1 is comming but i need the login form to come first the if i click on ok then the form1 should come. I have written the code for login form but form1 is comming first.

Please Help me !!!

Thanks and Regards

Member Avatar for Dukane

What IDE are you using?

check the startup project in your project properties..

From the TOOL menu at the top of the page select (Project Name) PROPERTIES. On that page you will see a drop down menu "Start Up form"... select the form you want the application to start with... in your case, the log-in form.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.