Results 1 to 9 of 9

Thread: [RESOLVED] Please HELP I have aged in a week trying to figure this out have no slept in 36 hours

Threaded View

  1. #4
    Frenzied Member IanRyder's Avatar
    Join Date
    Jan 2013
    Location
    Healing, UK
    Posts
    1,232

    Re: Please HELP I have aged in a week trying to figure this out have no slept in 36 h

    Hi,

    Are you suggesting that I create a function to read in my entire file before doing the other?
    No, what I have demonstrated here is creating a Private variable at the Class level that is populated when the Form loads. Once loaded, this collection of in-memory strings can then be used within the Events of your project as demonstrated.

    I see the nested function in your example.
    Sorry, but there is no nested function in my example. I have simply demonstrated how to code the TextChanged Event of a TextBox.
    (Edit: Ah, you mean the Lambda Expression? That is being used to search the myZipCodes array to find what you are typing, and if found, return the results of the search to your other TextBox's)

    Hope that clears things up for you.

    Cheers,

    Ian
    Last edited by IanRyder; May 5th, 2013 at 08:05 AM. Reason: Added Lambda Comment

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width