Can anyone help?

Discussion in 'Programming General' started by gigabyt3r, Feb 22, 2008.

Can anyone help?
  1. Unread #1 - Feb 22, 2008 at 12:42 AM
  2. gigabyt3r
    Joined:
    Jul 31, 2007
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0

    gigabyt3r Member
    Banned

    Can anyone help?

    Ok im trying to make a login system, i spent ages on what i have so far even though its only 4kb big LOL.


    Anyway when i register a username and try to login, it says invalid even though i just registered it. Also i want more than 1 user to be able to register but i have no idea how to it (when u register it just declares the variables 'username' & 'password' accordingly). So if someone could help with that as well that would be really appreciated..


    If you look at the source you will understand what i mean:D

    I hope someone can help me, thx in advance


    http://rapidshare.com/files/93869293/login_system.rar
     
  3. Unread #2 - Feb 22, 2008 at 2:08 AM
  4. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Can anyone help?

    Ok, it's against the rules to post Source, so you might want to remove that link. I'd help but I can't post source either, so just wait for a Mod or a VB Programmer to come in a help. Sorry I couldn't be anymore help. :(
     
  5. Unread #3 - Feb 22, 2008 at 2:22 AM
  6. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    Can anyone help?

    EDIT: Urg, horrible system is horrible.
    Give me a bit and i'll show ya how to make a REAL login system.
     
  7. Unread #4 - Feb 22, 2008 at 7:12 AM
  8. gigabyt3r
    Joined:
    Jul 31, 2007
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0

    gigabyt3r Member
    Banned

    Can anyone help?

    Wow thanks so much Jazz, i know it really is an awful system :D
     
  9. Unread #5 - Feb 22, 2008 at 9:17 AM
  10. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Can anyone help?

    I whipped up a semi-basic login system for you. (its attached)
    Jazz's will no doubt be more "secure" then what i just posted. So you might wanna wait until he posts also.
     

    Attached Files:

  11. Unread #6 - Feb 22, 2008 at 10:35 AM
  12. gigabyt3r
    Joined:
    Jul 31, 2007
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0

    gigabyt3r Member
    Banned

    Can anyone help?

    Thx Covey it works great, although when i look at the code i get abit confused :p , although you added comments which helped me understand it a little more
     
  13. Unread #7 - Feb 23, 2008 at 5:57 AM
  14. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Can anyone help?

    Post the parts of the code that confuse you and i will try to explain it further.
     
  15. Unread #8 - Feb 24, 2008 at 11:27 AM
  16. gigabyt3r
    Joined:
    Jul 31, 2007
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0

    gigabyt3r Member
    Banned

    Can anyone help?

  17. Unread #9 - Feb 25, 2008 at 2:54 AM
  18. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    Can anyone help?

    i've turned the simple code I had into a major project, i'll release it later on with a small sample
     
  19. Unread #10 - Feb 25, 2008 at 5:29 AM
  20. heidi
    Referrals:
    0

    heidi Guest

    Can anyone help?

  21. Unread #11 - Feb 25, 2008 at 6:35 AM
  22. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Can anyone help?

    ffs this site is being shit. I can't seem to post my reply (Everytime i paste something into the reply box the reply doesn't go through, but i can type normally and the reply works)
    I've saved the post to a .txt file and i'll try again tommorrow.
     
  23. Unread #12 - Feb 25, 2008 at 3:48 PM
  24. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    Can anyone help?

    Are you serious, i never knew it was against the rules to post :eek:
     
  25. Unread #13 - Feb 25, 2008 at 5:18 PM
  26. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    Can anyone help?

  27. Unread #14 - Feb 25, 2008 at 6:02 PM
  28. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    Can anyone help?

    ok, thanx!
    Seems a little over the top tho wouldnt you think, and how do i end up with a VB Rank :p
     
  29. Unread #15 - Feb 25, 2008 at 7:15 PM
  30. heidi
    Referrals:
    0

    heidi Guest

    Can anyone help?

  31. Unread #16 - Feb 25, 2008 at 7:44 PM
  32. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    Can anyone help?

    Why does she/he have to add you, the problem is pretty much resolved, and covey is going to explain to her/him a little more about the code he gave em'
     
  33. Unread #17 - Feb 25, 2008 at 7:46 PM
  34. gigabyt3r
    Joined:
    Jul 31, 2007
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0

    gigabyt3r Member
    Banned

    Can anyone help?

    added

    edit: WTF its someone from china trying to sell me rs gold
     
  35. Unread #18 - Feb 26, 2008 at 5:41 AM
  36. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    Can anyone help?

    Lawl, someone just lost to a spammer. Funny isn't it, how thats the only thing "heidi" has posted, http://sythe.org/search.php?searchid=881333
    but no description of what it wants to talk about.... LARN 2 INTERBUTTS
     
  37. Unread #19 - Feb 26, 2008 at 5:46 AM
  38. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Can anyone help?

    "SaveSetting" is the inbuilt function to save a string to the registry.
    The "Trim()" function trims the space characters from the left and right side of the given string.
    The "Len()" function counts how many characters are in the given string.
    The peice of code that you posted above that you said "makes absolutely no sense to you", is a peice of code that wasn't written by me (as i said in my project code). But it basically decrypts the given string.

    PS.
    Where i use:
    Code:
    If Len(Trim(txtUsername.Text)) = 0 Or Len(Trim(txtPassword.Text)) = 0 Then
    is the pretty much the same as doing:
    Code:
    If txtUsername.Text = "" or txtPassword.Text = "" Then
    But using "Len()" uses less resources on the computer and is also faster.
     
< [Tut]Instr | Help With Java function >

Users viewing this thread
1 guest


 
 
Adblock breaks this site