Create Password Protector?
Mar 7, 2010I created a project on form1. I then added form2 to be the password protector for form1.
View 1 RepliesI created a project on form1. I then added form2 to be the password protector for form1.
View 1 RepliesI'm trying to create a password change form for my company's vendors. There are a couple of scenarios I could encounter doing this:
1 - User enters invalid current password
2 - New passwords do not match
3 - User's account is locked
4 - User cannot authenticate because password is expired
It's case 4 that I'm struggling with, because their is no way for me to take the password the user entered and verify it against active directory without getting an error.
I am looking to create a simple password box that will ask the user for a username and pass, if the user is validated against the usernames and passwords in an .ini file the login box will close and launch a program also stated in the .ini file. I would also like to be able to launch different programs for different users.
View 16 RepliesCreate A Password And Log In Using Else If?
View 4 Replieshow to create confirm password..
View 4 Repliesi am trying to create from vb.net code a 7zip arhive with password. I did that with winrar :
Dim ret As Long
ret = Shell("c:program fileswinrarwinrar a -ap c: est.rar -ptest c:1.txt c:2.txt")
But the same code doesn't work for 7 zip, i only manage to create the arhive, without password :
Dim ret As Long
ret = Shell("C:Program Files7-Zip7z.exe a c: est.7z c:1.txt")
I need to create a function that will verify a password.The function will be named IsValid.
View 1 Repliesi'm trying to create a program that enables a user log into the program using a username and password, first he/she must first create an account with some vital information incase the password is forgotten so it can be retrieved
View 2 RepliesI try to create an forgot password application. in the application, in order to get user password, user must do some input. there is 4 input : Username, Name, Security Question, and Security Answer.
Try
If TextBox8.Text <> "" Then
kueri = "select Username, Pass, Nama, SecQue, SecAns from Account where Username = '" + TextBox8.Text + "'"
[Code].....
i would like to create a password generator however i have a 2 text box aplication the top one is where the person types their e-mail address then select generate. the program must then use that address to generate a unique password only for that person if another email address is inserted in the top text box a total different password should be generated.
View 5 Repliesi found out that you can create a Archive but how would i add a password to it?i know this.
Dim di As DirectoryInfo = New DirectoryInfo(Application.StartupPath + "folder")
di.Attributes = FileAttributes.Archive
how to add in the pass now from that code ? or is it a different syntax?
I knew that what I have doesn't create the username and password in the same .txt file. when i create a new user they both get thier own file with no text in them. When I tried to get the streamreader to access the previously created accounts, the only password acceptable is 'password'. I think it only accepts 'password' because 'Password.Read()' and it only created a .txt file Password when I typed it in. (I can't be for sure though). The top code is my Create User and the bottom code is my OK(accept created user).
Private
Sub CreateUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateUser.Click
If Not My.Computer.FileSystem.DirectoryExists("C:Documents and SettingsAll UsersStart MenuProgramsLogin Text To Speech") Then
[CODE]...
I would like to create a login screen with username/password. The login screen should validate username/password before the user is redirected to the next screen.
View 8 RepliesI just want to know how to create a login username and password in VB.net 2008
View 1 RepliesHow would I Create a New .txt File & Lock it with a Password with VB8....?
View 5 RepliesThis is the code I'm using:
Dim conn As MySqlConnection
conn = New MySQLConnection()
conn.ConnectionString = "server=domain.com; user id=user; password=password; database=dbname"
[Code].....
So how can I create the tables for the username and password field?
I am trying to make a form for an app that will update the current users password to something new of his choice but I cant seem to make it update the database and just says the wrong password statement.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim connection As New SqlClient.SqlConnection
Dim command As New SqlClient.SqlCommand
Dim adaptor As New SqlClient.SqlDataAdapter
Dim dataset As New DataSet
[Code] .....
I have a VB.NET form that contains textboxes for the user to enter his details. I have a delete button in the same form that I want only the administrator or any authorized person to be able to use. Basically, I want to make the delete button password protected so that the normal user can't delete any of his details. only the admin who has the admin password can delete it. Is it possible to create a password protected button?
View 1 RepliesRules:
Rule 1: Replace all of the vowels (A, E, I, O or U) in the original password with a number as follows: (20 points) Replace the first vowel with the number of 1. Replace the second vowel with the number of 2. Replace all other vowels with the number of 9.
Rule 2: Replace all of the numbers in the original password with the letter Z. (15 points)
Rule 3: Reverse all of the characters in the original password. (10 points)
Rule 4: The enter password should be non case-sensitive. All the letters in new password should be in upper-case. (5 points)
This is what is should look like:
My code:
CODE:
Right now I'm not worried about the efficiency of the code (i.e. simplifying code into fewer lines). The problem I am having is the locating and replacing of the vowels. When running the program the code will replace all of the numbers with "Z", reverse the string, and make all letters uppercase. When it comes to locating the vowels, the program squares the number it goes through the string by the number of letters that it contains. I don't know why it does this.
when the string contains more then 1 vowel the first time it goes through it replaces all vowels with 1, then goes through again and replaces all vowels with 2, and goes through again repalcing all vowels with 9. These are all then combined into one string.
The research I have done has only turned up how to replace vowels with one thing (i.e. all vowels become "*")
I am creating an application using VB 2005. I am using richtextbox control to get some text and do some text formating like bold, italics and font like stuff.
Now i want to save the richtext (formated) text to a word file with specific page margins, header and footer texts. And also to save the file with a supplied password.
I have tried the simplest method of rtf
[Code]...
I have spent hours to get my requirements to work. AS this is my first of this kind, i cannot firureout how to add header , footer, set margins and save file to specific location WITH password., Simply Need to know basic vb2005/vba options.
i have created an application in vb.net and now i want to create custom uninstaller which asks for a password during uninstallation of the application. if password is correct, then start the uninstallation process else exit the process of uninstalation. i always used clickonce deployment type installation and so i dont know how to create a custom uninstaller like i said.
View 2 RepliesVb.net 2008 I create registration user name and password project with Login form using My.Setting.My question when I wrote the username and password in TextBoxes . I want when checked CheckBox to save UserName and PassWord to Login again automatically.
View 2 Repliesi have a login form in a banking project.i set a userid and password for this login form and i did the code accordingly,it works good.In my form there are two fields namely:Userid and Password and a button named Login.
But i cant get any idea about what to do when the user wants to create their own userid and password?
I think i need to add a few more buttons to enable the user to create their own userid and password but i cant get the idea......i need some help.
Again,if i allow the user to create their own userid and password then anyone can use my project by creating a new account.........
Hence i am totally confused how to go with this.I need some urgent discussion so that i can get through this problem.
I want to know how to include username and password of sql express 2005 for creating setup file in vb dotnet.Also how can i create an instance of sql and include it in setup project.
View 2 RepliesI hv to create a login for my windows appn(this is the first tym i am creating a login in visual studio) i am unable to figure out exactly what should i do
I tried the following:
Public Function User_Login(ByVal unam As String, ByVal pwd As String) As Boolean
ada = New OleDbDataAdapter("Select * from UserProfile where UName='" + unam + "' and
[CODE]...
Now i called this function on the button click of my login form and passed the values of username and password textboxes as parameters to it. But the problem arising is that it is logging in by simply clicking the button irrespective of what is entered in the username and password textboxes.
I think this is because ds.Tables.Count is never 0(whether the username and password match or not) Use code tags when posting your code. Code tags are used like so =>
I am implementing a system where the user can Reset their password if they have forgotten it.Once it is reset I want to give them the option of changing the password so that it will be something more memorable to them.The password is hashed and if i enter in the correct old password and new password the password does change.If I enter in the wrong old password and new password the password doesnt change.Is there a way to match the old password with the old password field in code behind so I can throw up an error to the user to tell them what is wrong? [code]
View 1 RepliesHow do you get a textbox being using for password entry to display the black circle that you often see in web forms, on the iphone etc etc?
I can change the PasswordChar property to an asterisk no problem and even copying and pasting symbols inserted into Word seemed to work - just couldn't find a symbol that looked like a bullet point!
Can this actually be achieved for a standalone exe, or is it something unique to web forms? Surely copying and pasting symbols from Word isn't actually the answer?
I read and write the cells from excell sheet sucessfully. now please i need a advise on the following
1. Where i save the file? at the time of project publishing it include also with the project?
2. how i check file exits or not?
3. How i pass the password if excell sheet have password and enable macro?
I'm currently working on a CRM project in vb.net. I want the program to start with a prompt that asks for a password and if the user enters the correct password then the main form loads.Im having some problems wrapping my mind around this...
View 10 RepliesHow 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