hi i want to have a sample on how to link a form to another. need help plzzzz friends. have to submit a project and i want to implement in in that.
i want to link a login page to a form. if login = True then direct to form else login fails.

overload ShowDialog method make it returns true or false in case of true show second (main) form
your question is long but I'll tell you how to call a form from another one
this example calls form 2 from form number 1

dim form2 as Form2()
form2.ShowDialog()

iam requesting a code for linking many forms

iam requesting a code for linking many forms

Form2.Show()
        Form3.Show()
        Form4.Show()
        Form5.Show()

If you have more Forms than the above code, just add them to the list.

how can i create database with vb.net

commented: Don't hijack threads -3
  1. Don't hijack threads
  2. Don't resurrect old threads
  3. Show some effort before you post
  4. Provide some details
commented: You should make this post into a keyboard macro. You could use it a lot around here. +6
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.