README.md
December 4, 2022 ยท View on GitHub
Description
This will check if a dam*n file exists the easy and "right" way! Plz vote for this code if you like it!
More Info
| Submitted On | |
| By | VisualBlind |
| Level | Intermediate |
| User Rating | 3.1 (34 globes from 11 users) |
| Compatibility | VB 6.0 |
| Category | Files/ File Controls/ Input/ Output |
| World | Visual Basic |
| Archive File |
Source Code
Dim fso
Dim strFile As String
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists("c:\windows\Calc.exe") Then
MsgBox "It does exist", vbInformation, "Does Exist"
Else
MsgBox "It does not exist!", vbExclamation, "Doesn't Exist"
End If