Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

VS 2010 Error with directories

$
0
0
Code:

If (Not System.IO.Directory.EnumerateFiles("../../Saves/" & configs.name_char).Any()) Then
      System.IO.Directory.Delete("../../Saves/" & configs.name_char)
End If

This code produces this error:
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll

I wonder how he could fix it.

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>