Newbie question:
I am new to using Visual Studio (I was decent with MS Access) and I'm trying to validate user entries into a textbox, and there are a number of conditions, but I'm only really struggling with the last part.
I need to ensure that the entry ends with any of the strings that are stored in a .txt file (which supervisors can edit at any time to keep up with future updates)
Can I compare against the file or do I need to somehow open it first? Do I need to store them in an array before I can compare against them? How do I write my code to use the file/array like a wildcard?
I assume the comparison part could look similar to this:
If (txtInput Like "*[<.txtfile>]" = True) Then