954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ordering form

ordering form
Expand Post »
hey can you please help me) because we have this assignment ordering form in vb 6.my problem is you have 3 attempts only to log in and in payment it should be 0.00, if you enter a number example 1 the output should be 0.01 then if you enter another number example 2, the output should be 0.12
here is my code for logging in 3 attempts:
for counter=1 to 3 then
If txtUserName.Text = "" Or txtPassword.Text = "" Then
MsgBox "Fill up the missing field", vbInformation
ElseIf txtUserName.Text <> "judy" Or txtPassword.Text <> "salonga" Then
MsgBox "Either wrong username or password", vbInformation
End If
next
end
If txtUserName.Text = "judy" And txtPassword.Text = "salonga" Then
frmMenu.Show
frmLogin.Hide
End If

makibao
Newbie Poster
11 posts since Mar 2011
Reputation Points: 7
Solved Threads: 0
 

Check for proper syntax in your code.

Are you storing the username and password in database ?

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

Check for proper syntax in your code.

Are you storing the username and password in database ?


nope :)

makibao
Newbie Poster
11 posts since Mar 2011
Reputation Points: 7
Solved Threads: 0
 
nope :)

What nope ?

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 
What nope ?


i do not use database :)

makibao
Newbie Poster
11 posts since Mar 2011
Reputation Points: 7
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: