I have hit another roadblock and need some help:
In windows, a filename like “A330 amu.jpg” is exactly the same as “a330 amu.jpg”. In VB.NET, “A330 amu.jpg” is not the same as “a330 amu.jpg”. Is there a way to make “A330 amu.jpg” = “a330 amu.jpg” true in VB.NET? I am making a program that cross references folder paths with jpg’s inside the program’s cwd(Current Working Directory). Also, this is not the only instence where there are differences like this. There are many more. I have also tried the str.Contains() method as well with no success. Basically I need to be able to load files regardless of case(case insensitive) just like the OS does. Python has this built into it. In other words: How do I get vb.net to honor the file system rules already built into the OS itself?
Thanks!
I have hit another roadblock and need some help: In windows, a filename like
Share
You need to specify a string comparison type:
If you’re not sure how to use this in your code, update your question to include a sample of the code where you’re making the comparison.