Vb Code Generator [work] Official

If you manually edit generated code and later regenerate, your changes may be overwritten. Use or inheritance patterns to add custom logic separately.

Public Function GetFileSize(filePath As String) As Long Dim fileInfo As New FileInfo(filePath) If fileInfo.Exists Then Return fileInfo.Length Else Return -1L End If End Function vb code generator