DB/Reporting :: VB Login System With User Levels?

May 15, 2008

I need to create an application that allows staff members to login and see different things.I need to be able to have different user levels for this so that certain staff can see some things and other staff can't.I would like the login system powered by the MS SQL Database that the rest of the programs data is stored in.

View 4 Replies


ADVERTISEMENT

DB/Reporting :: Login/ User System - Best Option?

May 16, 2011

I'm creating an app like a CRM ( Costumer Relationship Managment ) for a school but I have some questions I'd like to be answered.

It will have a main user ( Administrator ) and that user can create another users to access the app. The app will work locally and I would like to know a method to save that information @ localhost without being acessible to edit or view by other users.

Im thinking in a Access DB with all info and then make all information needed. But how to secure it without anyone else could access it or modify id? An encryption method would be the best way?

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

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 2005 - Login System - Application Which Has User Authentication System

Apr 1, 2009

I'm writing an application which has user authentication system, basically, when the user open the software, he has to enter his/hers username and password which are retrieved form a access data base, and if the user is set as admin then it enable some features, I couldn't figure out how to read the column lets say, IsAdmin table, which will store an value of 1 or 0 for example. I need a concept of how build a login system with levels or whatever you guys call it...

View 2 Replies

DB/Reporting :: (vb 2008) Log A User In Using A Login Form?

Jul 17, 2008

i am trying to log a user in using a login form. i have my connection to my database and there and it connects just fine but it will only read the first row. here is my code.

Code:
Dim ConnString As String = "Driver={MySQL ODBC 3.51 Driver};Server=dansoft.selfip.com;Option=131072;Stmt=;Database=elemental_battle; User=****;Password=*****;"
Dim objConn As New OdbcConnection(ConnString)

[code]....

there are two entries in the database. the first username and password are bagstoper and 1a2b3c4 the second is bagstoper2 and 1a2b3c4d. when i test it with the first username and password it works but when i try the second it doesnt work.

View 2 Replies

DB / Reporting - Using A Datareader To Retrieve The User Login Info

Jun 4, 2008

I need to convert a large VB6 app to vb.net which does a lot of database work and produces a Crystal Report. The initial form is simple a login form which validates the user. I am trying to use a datareader to retrieve the user's login info but it won't compile on the statement where I'm trying to get the Connection String from the app.config file. It complains that the ConfigurationManager is not declared on the dim statement. Where and how do I declare the ConfigurationManager? I thought it was just pointing to the app.config file but apparently that is not correct. [Code]

View 3 Replies

Allows User To Login Into The System - Session In VB

Dec 8, 2009

i have a login thing which allows user to login into the system. codes for it:

[Code]...

View 1 Replies

Create User In A Login System?

Feb 2, 2009

Username:
Password:
Login
Create Username
Exit

The login button

If TextBox1.Text = "Admin" And TextBox2.Text = "ABC123" Then
Police.Show()
Me.Hide()

[code].....

That it saves the Username and Pass so the next time I login, it can use this Username and Pass.

View 5 Replies

Login System With User Control?

Jan 15, 2012

i am wanting to make a Login System that uses Usercontrol.I have a label left and right i have a panel.in this panel i want to add usercontrol for all users that has one account in the application. this are some examples (Windos XP Login) Image 1 Image 2 Image 3 How i have to start?

View 8 Replies

Login System With User Type?

Apr 24, 2012

I created a Login system using the Login Form from VB 2010 and connectected to a DB table called "Useri" with 4 columns: "ID_U" , "UserName" , "Password" , "UserType". The login form works to authentificate user, and my application starts. My app has 5 buttons and i want them to be restricted by user type

If admin - full acces

if Operator - 1 button(that leads to a form with 4 textboxes that edit a row from a database)

if guest - 1 button that leads to a form with a datagrid

So, if a guest user clicked a resticted button a msgbox appears.

My login form code looks like this.

[Code]...

View 5 Replies

Creating User Account Login System?

Mar 14, 2012

I am trying to create a windows forms login using vb.net and sql that has the option to create user accounts with such properties like administrator and more.

View 6 Replies

User Login System Using SQL Express And Storing Sessions?

Aug 9, 2009

I am trying to create a system for users to login and have assigned roles ie user, manager, admin etc. but i cant seem to find a way to do it my code for login is below

Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login_btn_OK.Click
Dim conn As New SqlClient.SqlConnection
Dim command As New SqlClient.SqlCommand

[code]....

Just after a way to recall user credentials to display appropriate content depending on their role?

View 7 Replies

VS 2010 Create Application's User Login System?

Dec 7, 2009

[Code]...

I need some trick to make some good and safe "Login" to application system with username and password.

View 8 Replies

VS 2008 Log-in User Levels

Jan 10, 2010

i have a login form and it has 3 user levels - admin, manager & accountant - which have limited privileges using the system. For ex., if admin logged in, this user can access the whole system; if manager logged in, this user can only access the employee records; & accountant user can only access the payroll.

i actually have the idea but because i lack knowledge about vb.net, i don't know how to code it.

[code..]

At the main menu, buttons are enabled & disabled depending on the user level that was entered.

View 2 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

Error: "The Query Builder Failed. Cannot Open User Default Database. Login Failed. Login Failed For User <User Name>"

May 8, 2012

I'm using Visual Basic Express 2010 and SQL Express 2008 in Windows XP. At first I couldn't add a datasource (the .mdf file for the database) because of a "Operating system error 32" which I seemed to have resolved by giving myself full permissions for .mdf file (by right clicking on the file and going into properties and then Security) and restarting the SQL SERVER (SQLEXPRESS) service. The dataset for the database is in my solution explorer but when I right click on a table adapter to add a query and attempt to open up the query builder, I get the error in the title above.

View 1 Replies

"The Query Builder Failed. Cannot Open User Default Database. Login Failed. Login Failed For User <User Name>"

May 8, 2012

I'm using Visual Basic Express 2010 and SQL Express 2008 in Windows XP.I created a database on my local PC HDD. At first I couldn't add a datasource (the .mdf file for the database) because of a "Operating system error 32" which I seemed to have resolved by giving myself full permissions for .mdf file (by right clicking on the file and going into properties and then Security) and restarting the SQL SERVER (SQLEXPRESS) service.The dataset for the database is in my solution explorer but when I right click on a table adapter to add a query and attempt to open up the query builder, I get the error in the title above.

View 10 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 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

DB/Reporting :: Error: Cannot Perform '=' Operation On System.Int32 And System.String

Mar 6, 2010

I wrote the code below which calculates the length of a line on the form and save record. An error occurs when the programme tries to save the record. It gives me "Cannot perform '=' operation on System.Int32 and System.String" error. I checked the data type of "ID"(int), "Microscope"(Varchar), "Magnification"(int) and "Calibration"(Decimal), and they are fine so far as I know.

Code:
Private Sub btnEnd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnd.Click
'Check if the length textbox is not empty

[Code].....

View 4 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

DB/Reporting :: Database LOGIN ?

May 18, 2011

below is the coding i want to ask :[code...]

this code is used for login by querying into the database....the logic is like this..it query accoding to the username text box and pass word text box...if there is indeed such rows in the table, then the bacadata.read, else something else happens...i have a few question :

1.is this the right way of login in by checking the row is available or not?

2.is there any enlightment and solution for the appropriate way to login system by using database other than the one teached by my lecturer?

View 2 Replies

Error Login Failed For User ''. The User Is Not Associated With A Trusted Sql Server Connection

Oct 2, 2008

Dim sqlConn As New SqlConnection("Server=.\SQLEXPRESS;uid=;pwd=;database=ContactManager")
sqlConn.Open()

Above is my connection string, The programs runs up until sqlConn.Open() and then i get the same error, using no UID and Pass, or using a uid and pass.

Login Failed For User ''. The user is not associated with a trusted sql server connection

I have the SQL Servers authentication se to Windows Authentication and SQL Authentication. I'm using Visual Studio 2005 and SQL Server 2005.

View 10 Replies

Login Facility Reading In User Info From A Main User File?

Nov 9, 2011

I have been trying to solve this for 2 days now, every text book I own and google have been well and truely exhausted and I am still no closer to solving my problems.I have a login facility reading in user info from a main user file. This takes all info into a temp array and then splits usernames into a username file, passwords into a password file and a current score in a score file.

I have the login working fine and everything else in my program works as intended but touching up cosmetic aspects I want to add a Message box after login to say hello and display current score. This works great for the first name in the user file i.e - after login User1 welcome to the game. Your current score is 45 As intended.But the problem arises with any other users, my message comes out as

User2 welcome to the game. Your current score is 55 I do not understand where the random new lines are coming from. I have tried assigning the message as a variable and removing new line using

[Code]...

View 9 Replies

DB/Reporting :: Login For Crystal Report?

Dec 20, 2011

I have an applciation in VB.NET but when I try to produce the reports a popup message appears requiring login information.

I have attache the print screen of the popup message.

View 2 Replies

DB/Reporting :: WebQuery Refresh (Necessary To Login)

Feb 16, 2011

I need refresh query table, for which I need to be logged in. But If I open excel through this:

Code:
oApp.Workbooks.Open("C:Documents and SettingshanzalDesktop est1.xls")
I need Edit query and Logging it.

My complete code is here:
Imports Excel
Imports System
Imports System.Linq.Queryable
Imports System.Windows.Forms
Imports Microsoft.Office
[Code] .....

Error:
System.Runtime.InteropServices.COMException was unhandled
ErrorCode=-2146827284
Message=Exception from HRESULT: 0x800A03EC

I need code, for calling VBA from excel or directly connecting with Login and Password. Without this I can not make a refresh.

View 1 Replies

Login Failed For User ' '. The User Is Not Associated With A Trusted SQL Server Connection

Jul 29, 2011

i am having a console application. I am trying to connect to a sql server.

my connection string: Data Source=<Some server>;Initial Catalog=<some database>;Trusted_Connection=True.

when i am executing on my local machine it runs successfully. But when i am trying to run it on a server it is giving me the following error:

Login failed for user ' '. The user is not associated with a trusted SQL Server connection.

do i have to change my connection string? if so what it should be?

View 2 Replies

DB/Reporting :: Authentication - Login Using Your VBulletin Username And Password

Aug 6, 2009

I'm trying to make an authentication before my visual basic 2008 project, a login window. You have to login using your vBulletin username & password. The username and password from my community, which is a vBulletin forum. So, I'd like a form that ask you to login using your username and password from my vBulletin forum, so you'd have to register before...

View 1 Replies

DB/Reporting :: Write Into A .mdb File, Program Uses Two Login Forms?

Sep 17, 2010

this would be my first post and usually I can figure these problems out, but I am stumped so badly right now, I am writing code to write into a .mdb file, my program uses two login forms, the first reads the data base, and sees if the user name and password is correct. I got that working, my second login form is used for creating an account. This is where I am getting stuck, I have followed and looked for tutorials and I found nothing, my DB is simple, its one table, and two input fields called "Userid" and "password" this is my code to write a new account into these fields

[Code]...

View 13 Replies







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