User Profile

Collapse

Profile Sidebar

Collapse
nabman
nabman
Last Activity: Dec 8 '07, 05:10 PM
Joined: Nov 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nabman
    started a topic Date function???

    Date function???

    What is the function to show the current date in a text box, which is going to be written to a text file.

    I tried Now() and Today() but they all give me the time as well

    I need the format to be

    11/30/2007

    not

    11/30/2007 11:56:55 PM
    See more | Go to post

  • nabman
    replied to Do while loop
    I figured it out, needed a nested if statement to verify the correct account number.
    See more | Go to post

    Leave a comment:


  • nabman
    started a topic Do while loop

    Do while loop

    I have a do while loop thats reading from a file. I have two forms in my program and the file is reading four lines the acct number, which is entered in the prior form as a login. The lines in the file each have a different account number above them. I want to read only the files below the certain account number.

    file setup(lines in the txt file)
    987654
    D
    60
    11/22/2007
    987654
    D
    60...
    See more | Go to post

  • nabman
    replied to Validation, Exit Loop
    Thanks for your help, I got it to work.
    See more | Go to post

    Leave a comment:


  • nabman
    started a topic Validation, Exit Loop

    Validation, Exit Loop

    I am reading a txt file, I have a txt file(customers. txt) that is read, with account numbers and passwords. Once the user enters a account number and password it should read the file and if there in there it will show the second form and end the loop. The probelm I am having is when I enter a acct # and password that is maybe the third entry in the file it is hitting the "else" statment and displaying my msgbox. What is the code I can...
    See more | Go to post

  • nabman
    replied to Creating a ATM program
    I got a little more done, still need a validation.
    [CODE=vbnet]
    Public Class frmLogin
    'Error message
    'Only three Login attemps
    Dim sr As IO.StreamReader
    Dim Acctnumber, password As String
    Private Sub frmBankATM_Load (ByVal sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
    Me.Text = "RBD Bank Account Login"
    End Sub
    ...
    See more | Go to post
    Last edited by Killer42; Nov 30 '07, 02:15 AM.

    Leave a comment:


  • nabman
    started a topic Creating a ATM program

    Creating a ATM program

    OK, I am creating a program where I have two forms, the login and main form. On the login form the user will be prompted to enter their account number and password. This info is read from a file. Upon a successful login the main form will pop up with options to perform from there. I got it to where it will continue to the main form, but it gives me a error message every time. I am thinking I have the validation in the wrong spot. I'm sure I am just...
    See more | Go to post
    Last edited by Killer42; Nov 30 '07, 02:10 AM.
No activity results to display
Show More
Working...