>>I tested my code and get no problem having this class named String. But, just in case (so that you and Thomas don't tell me some day "I told you so :)) I may change the name to something very unique like MyString <g>.
>
>I also have a string class. Its file name is named String.vb but the class name is named StringFunction. I do not understand how you succeeded to name the class String. That should give you a "Keyword is not valid as an identifier".
>
>Wherever I have a class name that is a reserved word, I simply add the word Function after. Another example if a file class. I named the file File.vb but the class name is FileFunction.
See my reply to Craig with the sample code. And it works.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham