views:

77

answers:

3

Question says it all. Is there a way to enforce case sensitivity in VB.Net file-names? If so, how!

The primary issue that I am trying to solve is the difference in how Windows doesn't care about the case of a file-name, but other tools, like Subversion, do care about the case of a file-name

A: 

Yes, by writing your own compiler.

New answer for the new question - you're probably better off trying to make your other tools operate in a case-insensitive way in regards to filenames. For example, here's a pre-commit hook for subversion that checks for case-insensitive filename clashes.

jball
Wow - the question changed completely. How nice.
jball
+1  A: 

VB.NET is not designed to support that, no. If case sensitivity is high on your priority list, I would recommend trying a language that does support it. C# comes to mind, and the transition really isn't that bad.

EDIT: Oops, it looks like you changed your question.

Andy West
A: 

I think it's the Windows API that doesn't care about the casing of filenames, not the programming language.

ZippyV