Questions

Answer for:

VB 6 covert to VB NET

Message 5 of 5

View entire thread
+
0 Votes
Ayars

I would use the following code, making use of the OrElse to minimise processing.

If strKey.ToUpper = ".DEFAULT" OrElse strKey.ToUpper.EndsWith("_CLASSES") Then