ASKER
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.
TRUSTED BY
Public Function OkToRun(ByVal filename As String) As Boolean
Dim fso As New Scripting.FileSystemObject
If fso.FileExists(filename) Then
If DateDiff("d", fso.GetFile(filename).Date
Call fso.DeleteFile(filename)
Call fso.CreateTextFile(filenam
OkToRun = True
End If
End If
End Function