We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,680 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

multiple login form for admin

hi
i m new to vb with sql.i made login form.but after that on main form some feature will be disbleed for ordinary user and that feature will be only enabled to admanistrater.so on main form a button will be enabled with specific password that is in backend so i dont know yhe code plz i need kind help of someone

4
Contributors
3
Replies
6 Days
Discussion Span
5 Months Ago
Last Updated
5
Views
kshami92
Newbie Poster
1 post since Dec 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Can you show what you have so far?

abelingaw
Posting Whiz in Training
227 posts since Jun 2008
Reputation Points: 79
Solved Threads: 31
Skill Endorsements: 2

its very simple.just identify user or administrtor with their username and password
and then call related function for ord.user or administrator

for Example :-
you user is found as ord.user then do following . . .
in called function , you can write code for disabling some specific control that are used when administrator is logged in .

try to do it . . .

rishif2
Junior Poster
175 posts since Dec 2012
Reputation Points: 54
Solved Threads: 34
Skill Endorsements: 3

I have a simple logon that has extra functions when an admin logs on.

A very simple way is to set a Boolean value to true if a admin logs on then use an if statement to load extra bits if admin = true

mark.scutt.7
Newbie Poster
23 posts since Sep 2012
Reputation Points: 12
Solved Threads: 1
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0719 seconds using 2.69MB