Identify An ID Number And A Password
Aug 15, 2011
I need to identify an ID number and a password. Like this,(Form1) there's a two textboxes, one is the ID number and the second one is the Password, when I enter the two it means i Log-in, the system needs to identify if the ID number and the password is registered in mySQL, then if it is registered a message box will appear "You are log-on" and a form will show (form2) in 10 to 15 seconds that is having the information of the student, then it will automatically close then it will go back to the form1 which the another user will log-in again.
(this is Form1 too) then here is my second problem, like what i said in the first problem, the program needs to identify that the student is already log-on the school and he is going to log-out, (like this, system is going to identify that the id number and the password is already declared on the first form, so it will be the log-out code, then a message box will appear "You are Log-out".
(Form3) then here is my third problem, i need to identify how many people is inside the campus and not going out on the campus. The person or student that is not logging-out on the program or the system will be count when i click the Button 'Count' and the number of student inside the campus will be display in a 'Label'(it will be inserted also or having record on mySQL tableInside).
('Form4') then my fourth problem is the system needs to identify how many students did log-in on the campus. Or the system will identify how many person input their ID Number and Password on the first form ('Form1', it will be inserted or having record on mySQL tableLog).
View 3 Replies
ADVERTISEMENT
May 30, 2012
Example, when i plug in my device, the programme is supposed to identify which com-port is connected to it and update the textfield accordingly, however this is my first time using such a device and im not too sure
View 6 Replies
Mar 30, 2009
I did this for one of my homework assignments in C#. However I need to do this in Visual Basic. For VB it just needs to be 6 characters and have one numeric digit and at least one alphabetic character.
Private Sub btnVerify_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVerify.Click
public string getPassword()
End Sub
Private Function IsValid() As Boolean
[Code] .....
View 8 Replies
Mar 28, 2012
My homework assignment is to create a project where a user enters a password that must be at least 3 characters long with at least 1 number and 1 alphabet character. After that the password has to be encrypted so that vowels become X, numbers Z, and it reverses. For example, a password of CS2301 would be ZZZZSC. There's supposed to be Loops to extract 1 number/letter at a time and search for them in the string to validate, and I don't know what to do. The form itself has a Text Box to enter a password and a label to display the new one, and a Go button.
This is what my code looks like so far.
Option Strict On
Option Explicit On
Public Class Form1
[CODE]...
View 13 Replies
Jan 15, 2012
I'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.
View 5 Replies
Jun 1, 2011
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 Replies
Feb 10, 2009
How 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?
View 6 Replies
Jul 25, 2011
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?
View 1 Replies
Apr 21, 2010
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 Replies
Jul 15, 2009
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 Replies
Apr 17, 2006
I'm having a problem when trying to identify if the CD on the drive is virgen (CD-R or CD-RW).I'm using the following code:
Public Function ExistsCDOnDrive(Drive As String) As Boolean Dim FSO As New Scripting.FileSystemObject If FSO.Drives(Drive).IsReady Then ExistsCDOnDrive = True End IfEnd Function
[code].....
View 1 Replies
Dec 2, 2009
Is there a way to inerlock letters in a password. EX: lets say my password is 1234567password, is their a way to interlock or inject random letters/numbers /symbols/etc into the password? Ok so our password is = 1234567password is their a way to make it like this = g1i2h3h4q5d6g7rp4a7s;?s`w6o+r/d5
View 3 Replies
Jan 15, 2012
how to reset the existing password(topsecret)with a new password by using the "replace" keyword
in the below code shown
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
View 6 Replies
Apr 10, 2010
I have a button on my Form called EditingButton that will have a DialogBox appear asking for a password. How can I have "*" show instead of the Password it-self when the user enters the password?[URL]...
View 1 Replies
Mar 21, 2011
I have developed a task Using VB.net (windows Application). I want to create a Login window for the Current user only allowed to use my application.So In my Login window UserNAme textbox I have showed the curent Login UserNAme like,
txtUserName.Text=Environment.UserDomainName & "" & Environment.UserName
And I have set txtUserName.Readonly =True.
Now the User to type the Password in my application password textbox.
[code]......
View 1 Replies
Jan 18, 2010
How to convert every key to something that i can identify.E.g. This returns the actual character "a" or "b" or "6". Not in the format i need it to be.[code]....
View 1 Replies
Nov 8, 2009
How to my Application identify . About Windows Restart Timing And How much time Windows Restartand Thats alllogging it in Txt filei mean My application Logging Text oftime and date when Its Process Killed Like Closed
that is VB.6 code something Acording to my thread
Private Sub btnWaitForExit_Click( _
ByVal sender As System.Object, _
[code].....
View 12 Replies
Oct 21, 2009
I've got a simple Windows Form Application that will tell you the drives on your computer, in a multi-line format using a Rich TextBox.So, If there were the C:\ and d:\ drives on my comp then It'd look like this
C:\
D:\
So, if there is an external drive (such as a USB under the "F:\" directory named "My Data" what would be the way to find the name of that drive, assuming that I do not already know the name Here's my code.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
RichTextBox1.Text = ""
If IO.System.Directory.Exists("F:\") then RichTextBox1.Text = (TextBox1.Text + "F:\" + Environment.NewLine)
[code]...
View 3 Replies
Sep 21, 2009
How can I uniquely identify a PC using vb.net code? Finding the PC name wil not work, as some users might use the same name. Please explain step by step, as vb.net is new to me.
View 25 Replies
Feb 3, 2010
I am writing a search engine whose purpose it is to search all kind of blogs for specific kinds of content.I'm particularly focusing on these blogs engines:
Blogger
LiveJournal
MySpace
Open Diary
[code]....
Is there any way I can use google to find links that are from a specific type of engine, like for example wordpress?
View 3 Replies
Jun 26, 2009
We are trying to identify the best archtecture while using a ORM like LINQ to SQL. The archture we are defining is for sort of framework that other applications will access either trough directly referencing the DLL or through a webservice. We have .NET apps and PHP apps.The possibilities are: Multiple data contexts: Separting the database into units of work and create separate contexts for each one.
Pros:
Easy of use
Classes will be broken into different namespaces
Smaller domain to maintain
Cons:
Objects have to be duplicated if
related, creating maintenance hell
Objects cannot be passed between context, creating the need for another hit on the data base Single data context: All tables, views, procedures, reside in the same huge context.
[code]....
View 4 Replies
May 6, 2009
I have a large string in which I need to replace specific strings with other values. For example, within this string I might see the following characters: [[sub id=5]]. I am trying to replace those substrings with values, pulled from a table and based on the id. What would be the simplest way to accomplish this. My first thought was to loop through and examine each character and note their positions when they match the pattern. I would then have to identify the id. That would be fairly complicated, however, and there must be a better way.
View 2 Replies
Jan 6, 2009
I have 2 buttons that will open the same form. but depends on which button is calling, the operation will be different. How can I identify that this form is called from button 1 or 2.Also, if we want to have a password in the vb.net stand alone application, should we use shared property?
View 6 Replies
Sep 20, 2011
I'm retrieveing the current path with:
Dim paths As String = HttpContext.Current.Request.FilePath
Which returns something like /VHP/hmo.aspx. What I need to narrow down is the FOLDER (VHP). How do I remove the / before it and the /filename after it?
View 1 Replies
Dec 22, 2007
Let's say i create 3 different process like this:
For i = 1 To 3
im pr As New Process
pr.StartInfo.UseShellExecute = True
[code].....
View 8 Replies
Jul 25, 2011
Does anyone know how I could get my app to show the ISP of the machine it is running on, I can get internal and external IP addresses, just need to know if possible and how to look up ISP from this information[url]...
View 13 Replies
Apr 2, 2010
I am working with the Richtextbox for the first time. Currently I can Bold the text from the textbox (shown below) but I want to alter this so that I can do the same thing regardless of what Richtextbox I am in. How do I do this without naming the Richtextbox specifically?
VB
' Sample
Private Sub tslBold_Click( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles tslBold.Click
StyleItalic(rtxtGoals)
[Code] .....
View 12 Replies
Aug 31, 2010
Can Attributes be used to identify what property from a class is required?
For example:
Class Test
<Attribute ??????>
Public Property A as string
[Code]......
I want to be able to select a or b property by referencing an Attribute value.
For example test.PropertyWithAttribute(blah) = "something"
View 2 Replies
Jul 27, 2010
on a network how can i identify a computer uniqulyof course not by system IP , why because IP can be changed easily or else other person on a network can change his system IP to another system IP while that IP in shut down status.hence i want to identify a system duly keeping any text file + some id written in it at any said address
View 1 Replies
Mar 4, 2011
I am doing a bar cash register and I want to use a if statement to see if fosters button and number 1 on the number pad are both pressed then multiply constant by quantity number
View 1 Replies