The Option button is a convenient way to display multiple options from which only one can be selected. One problem is that the Option button cannot be bound to a
Many professional applications are required to display a version number on all screens to indicate to users which version of the app is currently running. This also helps with configuration
‘ Returns the size of the specified directory’ – Note: requires Imports System.IO’ – Usage: Dim DirSize As Long = GetDirectorySize(“D:Projects”)Function GetDirectorySize(ByVal DirPath As String) As Long Dim DirSize As
‘ Copies a source directory to the destination directory.’ The last parameter specifies whether the files already present in the’ destination directory will be overwritten’ – Note: requires Imports System.IO’
‘ Returns the content of the specified text file’ Note: it can throw an exception’ Usage: Dim FileContent As String = LoadTextFile(“C:Autoexec.bat”)Function LoadTextFile(ByVal FilePath As String) As String Dim sr
‘ Open the standard dialog to download a file located on the server’ whose virtual path is passed as an argument. This routine is useful when’ you want to download
‘ Saves a text file. If the destination file already exists,’ its content can be replaced, or the new content can be appended’ at the end of the file, according
You can use the name of a Function or Property Get procedure as a local variable anywhere in the procedure. If your procedure returns a String or UDT type, writing