Change Login Code To Support For Multi Access Level Login?

Dec 14, 2009

May i know how to change my below login code to support for multi access level login? So that i can differentiate between manager and normal employees login so that i can enable or disable certain features for different department? I have the below code that can serve as a basic login.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'login code can work
conn.Open()[code]......

View 5 Replies


ADVERTISEMENT

VS 2008 - User Login With Different Level Of Access

Sep 3, 2009

I want to create a log in that allow the user to select different level of access when there using the program. Ok here is how I want it to be the user must select either user or admin, along with typing in there password and username, but I'm a bit confuse in putting the coding together.

View 1 Replies

Put Vb Login Code Into Html Code So That The Login Encryption Works On My Webpage?

Dec 22, 2010

how to put my vb login code into my html code so that the login encryption works on my webpage.

View 1 Replies

Create A Login Verification Routine (Login Form) Connected To MS Access Database In The Server

Dec 9, 2009

How do I create a Login Verification routine (Login Form) in vb.net . i have an windows application with login form contain user name , password , ok button and cancel button .

as this one:

Imports System.Data.OleDb
Public Class LoginForm1
' OK button

[Code].....

but i want to run my application from desktop and will get confirmation if the user name and password correct by checking them in MS Access Database in the server.

so the the application in the desktop and the tabel of user name and password in the server.

View 12 Replies

Login When User Type Password And They Press Enter That Login Code Can Be Activate?

May 29, 2009

how can i login when user type password and they press enter that login code can be activiate. What event can be using for this, i m using button_click event. need textbox typed value and press enter it should be login to that next form.

View 1 Replies

Cannot Open Database Requested In Login 'Database1' / Login Fails / Login Failed For User 'sa'

Mar 1, 2011

I got the above error when i deploy my web application into windows server 2003. How do i resolve it? [code]

View 3 Replies

Forms :: Enter Login Details Login Page Just Refreshes Itself And Login Wasn't Proceed?

Dec 13, 2010

I had a problem with WebBrowser component. Basically, it works improperly when try to log in on one web-site (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site). I am working with Visual Studio 2010 Professional. I created a simple WebBrowser trying to access the indicated web-site. The problem begins. Well, the website loads, but when you go to the login page (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site) and try to log in, it doesn't work. I mean, when I enter the login details the login page just refreshes itself and the login wasn't proceed. The same login page appear with every login attempt. The is the current problem!I check with Google, it works. But, it doesn't work with Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site! Why?

View 14 Replies

Verify Level Of Login

Mar 11, 2010

[code] this code need to verify the level of login, i mean if the user is admin then proceed to the next form with privileges but if is a visitor then proceed to the next form but without privileges.

View 1 Replies

Forms :: How To Make Form With Login Level

Aug 13, 2009

ok well eh i have a interface where i can login, but i must set the status to tell whether i am student or staff login.

View 1 Replies

Implement A Multi User Login On One Of Forms?

May 24, 2012

I am currently working on a project for school in which I am trying to implement a multi user login on one of my forms. I have an internal database connected in which one of my tables contains the user-names and passwords. I have a For/each loop to search the table for a matching username/password before allowing access to next form. The problem is even if the username/password is correct, my message box still appears to notify of invalid credentials, but still allows access to other form. The problem only occurs when I implement two For/each loops. With one, code works fine. Can any one see what might be wrong?

[Code]...

View 5 Replies

Vb Form With Multi-user Login To Sql Server?

Jun 6, 2012

I have made a windows forms application with a user login which queries a sql server database located on a central server. It currently has one sql server login which it connects to using a connection string in the app.config file. The user login is validated by querying a username table in sql server. I would like to make this a multi user application where after the user logs in, their credentials are stored and used by the the application to access the database with a sql server login. There will be 5-10 users.

View 3 Replies

Getting Error: "Cannot Open Database "MainDB" Requested By The Login. The Login Failed. Login Failed For User 'D630Admin'."

Mar 15, 2012

I created a SQL DB named MainDB.mdf and a small VB 2010 application with some forms and datasets.Everything was working OK until i got a new computer and re-installed Visual Studio 2010 and SQL server 2010 on it. I copied my DB from the old to the new computer and also copied by VB 2010 project to it. I used Windows Authentication to connect to the DB in the old computer and also in the new one, i am using different Windows user account names though.

I was able to connect to the DB in the new computer in the Server Explorer section, i created a new connection string to the DB and i can seed there is data in the tables. When i run my VB 2010 application created in the old computer get error:

"Cannot open database "MainDB" requested by the login. The login failed. Login failed for user 'D630Admin'."

I need to get rid of that error and be able to add/mod/del data from my DB using my VB application as i used to.

View 5 Replies

Asp.net - Validate User Role During Login Button Click Event In Login Control?

Apr 9, 2011

I have a login control in my asp.net webform i uses the roles manager...i have two roles admin and vendors i want when user enter username and password in login control then on login button click event it validates either the user is admin or vendors if vendor is admin then it will redirect to default.aspx other wise stay on login page with error. ...how to do this using vb.net ?

View 1 Replies

Login System - Make The Registered User To Login His Character Automatically?

Aug 25, 2010

Alright, So with this game I am Making with VB I am Confused on how to make the login system to make the registered user to login to his character automatically other then having to make a new character? Here is my login System code not much[code].....

View 3 Replies

IDE :: 2005 - Create A Login Form And Use A Text File As A Database To Login

Oct 10, 2010

I am currently working with VB.net 2005. I am trying to create a login form and use a text file as a database to login. The part login form is fine but i can't connected to the text file. When i use my coding with a database such as access or mysql is work fine.

[Code]...

View 4 Replies

Login Landing Page That Subsequently Passes Username/pw To Other Login Pages?

Dec 28, 2011

It is simply a "Y" in the road. If they are Company A, then I want to send the username and password over to that website and log them in as if they typed it in there. If they are Company B, then the same thing but with a different website. I do not know the term for this, so the google results are not very pretty.I can not do this with a query string (not that I'd want to anyway) as I do not want the username/pw to be visible.Here is the other weird thing. This can be done via a simple HTML <FORM> and Submit button as I have tested it. But I want to do it all in VB.NET code. How is it that it is possible with some simple HTML but not possible in VB.NET? I guess it could be a security thing, right? What do the good guys like us do when we legitimately just want our employees to go to one login page, enter their username/pw, and then (based on their username) send them to either pageA.aspx or PageB.aspx which receives their username/pw that they only entered once before on the first page?

View 1 Replies

Make A Webbrowser Login On A Site (filling Textbox And Clicking Login)?

Jun 18, 2011

I've been trying to make a app that logs into a website. So far it didn't work for me.I have trouble because:

- The "pin" (username) box on the site doesn't have an ID. (Can't use getelementbyid)

- The picture doesn't have an ID either

Codes I've tried:

With WebBrowser1.Document
.All("pin").InnerText = "mypinhere"
End With
End Sub

This should have, in my opinion, filled in the textbox. Now I need to click the login button?Also I found this in the source of the site:

<img src="/media/img/text_AccountPin.gif" alt="Account Pin" width="93" height="10" border="0"> <input type="text" name="pin" class="form" size="15"> </p>

As we can see, it says

name="pin"

So I should be able to use "getelementbytagname" right?Also, the formId is logmein (log me in)

<form id="logmein"....

This is what I came up with:

Dim webbrowserDocForm As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("logmein")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlValue As String = curElement.GetAttribute("Value").ToString

[code]....

in the next code it's tagname is "input" or "text"? Because I found:

<input type="text" name="pin" class="form" size="15"> </p>

Code for filling in:

webbrowserDocForm = WebBrowser1.document.GetElementsByTagName("text")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlName As String = curElement.GetAttribute("name").ToString

[code]....

It doesn't give me any errors no more, but it doesn't work either.

View 3 Replies

VS 2008 Dll Login System - Make Another Interface Window That The User Can Login In

Oct 16, 2009

I'am trying to make a login system with the dll. I want the .dll file to have the password inside of it and make another interface window that the user can login in.

View 10 Replies

VS 2008 Make Login Form That Will Login To A Website With WebBrowser Control

Feb 24, 2011

For the past couple of days I have been using Visual basic 2008 and learning it.Anyway, I am trying to make a login form that will login to a website with WebBrowser control.and I am noticing that the webbrowser is extremly slow, it takes him about 20 seconds to load a page while mozilla opens it in a moment, why is that?

View 6 Replies

Client-Server Login - Application That Will First Show Login Form (with Textbox For Username And Password)

Jul 31, 2010

I try to make one application that will first show login form (with textbox for username and password) and when I press login client application send request to server side application that make SQL query (local) and return some values and that values will be listed in main form. I try something with TCP chat source codes but I don't manage what I want.

View 3 Replies

Create A Login Verification Routine (Login Form) And Make Password Case Sensitive?

Apr 11, 2009

How do I create a Login Verification routine (Login Form) and make the password case sensitive?Please remember to mark the replies as answers if they help and unmark them if they provide no help.

View 3 Replies

Creating Multi Level List Boxes In Access?

Oct 25, 2010

The first list box contains the project name. Based on whatever is selected in the Projects list box, the 2nd list box is generated with Custodian names associated with that project. I am having problems generating the 3rd list box. This holds the data sources associated with whatever is selected in the 2nd list box (Custodians)

View 1 Replies

Auto Login - Check If The Login Was Succesfull And Report It With A Msgbox ?

Feb 27, 2009

I'm making an application for a website and it's going to be used by multiple people.The application will open up a site in webbrowser, use HTML ID to fill in textfields and then it will press "Logon"The problem is, in my application i need to tell the user if login was succesful or no.I couldn't do it with URL string because:

The login page is [url]....for example once they are logged on they will get [url]......But the ID for everyone will be diferent.How can I check if the login was succesfull and report it with a msgbox or in a log/listbox "login succesfull" or "login un-succesfull"

View 1 Replies

Create A Login To Program Which Uses The Same Username And Password As Windows Login?

Apr 20, 2012

basically i want to create a login to my program which uses the same username and password as windows login.I already know how to retrieve username and auto place it in the username box using

TextBox1.Text = Environment.UserName.ToString

i wondered is there an easy way to only allow access if the password matches up to their logon? i dont know about setting up databases but i dont think this option would work because each member of staff can personally choose their password.

View 4 Replies

Intermittent Login In ASP / SQL Server 2000 - Some Times Login Fails?

Sep 16, 2009

I have an ASP application with Sql Server 2000 database. The application has a login page. It was working fine. But from past few days, some times login fails and some time it works. I looked into the procedure and ASP page but could not find any issue.

View 2 Replies

VS 2010 Multi Threading Access To Module Level SEQUENTIAL Counter?

Feb 22, 2012

I've got this code

Public Class Form1
Dim m_listener As HttpListener = Nothing
Dim m_asyncCount As Integer = 0

[code].....

View 8 Replies

Asp.net - Login Control Automatically Login From Another Function

Mar 5, 2012

Is it possible to force the login of an asp:Login control?

Currently when a User registers via a Formview they than have to be redirected to the Login page to sign in with their new account. It is only using an asp:login control verified against a database table not the Membership system.

View 1 Replies

Remember Login Info In Login Form

Jun 10, 2011

I have a login form with username and password authentication . It works fine. But I want to give option to remember login info option in the form.

View 7 Replies

How To Change Login Rights

Feb 10, 2010

if i have two users ( admin / supervisor ) where the user if login as supervisor some buttons and forms will be enabled to him how can i do this .

i tried this code when click OK button :

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
try

[Code]......

View 6 Replies

Make Login Name Not Change?

Jul 1, 2009

I have a masterpage in which I have a Loginname control. I have a link in masterpage which redirects to register.aspx which contains createuserwizard as follows.[code]I have home.aspx page in which I login as administrator with username ram and loginname changes to ram. As admin I have to create another user. So I create a new user using create user wizard (register.aspx). After creating the user the loginname changes from ram to username of the new user. That I dont want. ram must exist. It means loginname must be ram itself. What customization do I have to make to make login name not change?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved