Hi,
i need to know how can i inherits or pass login form authenticated values to MDI child forms.

How is the login form being opened? what kind of information do you need to pass?

Actually sir, i have a login form with username and password textboxes.On the basis of correct authentication, i want to open mdi form of which a Second form is a child form.The problem is that i want to open that second form with the logged in user priviledges...Any help would be appreciated.

I'll assume the user privileges will be an integer to denote access level. One way to do this is, add this module to the end of your main form class, and the property will be accessible to any form in your project:

Public Module Properties
    Public Property AuthenticationLevel As Integer = 0
End Module

If you need something more secure start looking at Principals

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.