Tweak for issue #84
This commit is contained in:
@@ -250,7 +250,9 @@ Public Class mgrCommon
|
|||||||
|
|
||||||
'Sub Folders
|
'Sub Folders
|
||||||
For Each di As DirectoryInfo In oFolder.GetDirectories
|
For Each di As DirectoryInfo In oFolder.GetDirectories
|
||||||
lSize += GetFolderSize(di.FullName)
|
If Not ((di.Attributes And FileAttributes.ReparsePoint) = FileAttributes.ReparsePoint) Then
|
||||||
|
lSize += GetFolderSize(di.FullName)
|
||||||
|
End If
|
||||||
Next
|
Next
|
||||||
Catch
|
Catch
|
||||||
'Do Nothing
|
'Do Nothing
|
||||||
@@ -273,6 +275,8 @@ Public Class mgrCommon
|
|||||||
Return FormatString(mgrCommon_MB, Math.Round(lSize / 1048576, 2))
|
Return FormatString(mgrCommon_MB, Math.Round(lSize / 1048576, 2))
|
||||||
Case >= 1024
|
Case >= 1024
|
||||||
Return FormatString(mgrCommon_KB, Math.Round(lSize / 1024, 2))
|
Return FormatString(mgrCommon_KB, Math.Round(lSize / 1024, 2))
|
||||||
|
Case >= 0
|
||||||
|
Return FormatString(mgrCommon_B, lSize)
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
Return lSize
|
Return lSize
|
||||||
|
|||||||
Generated
+9
@@ -4636,6 +4636,15 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to [PARAM] B.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property mgrCommon_B() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("mgrCommon_B", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized string similar to An error has occured writing the text file.[BR][BR][PARAM].
|
''' Looks up a localized string similar to An error has occured writing the text file.[BR][BR][PARAM].
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -1789,4 +1789,7 @@
|
|||||||
<data name="frmGameManager_ErrorProcessParameterDupe" xml:space="preserve">
|
<data name="frmGameManager_ErrorProcessParameterDupe" xml:space="preserve">
|
||||||
<value>A game with this exact process and parameter already exists.</value>
|
<value>A game with this exact process and parameter already exists.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="mgrCommon_B" xml:space="preserve">
|
||||||
|
<value>[PARAM] B</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Reference in New Issue
Block a user