Pastetool #62

URL: , Paste another

Function DirExists(ByVal DName As String) As Boolean
	Dim sDummy As String
	On Error Resume Next
	If Right(DName, 1) <> "\" Then DName = DName & "\"
	sDummy = Dir$(DName & "*.*", vbDirectory)
	DirExists = Not (sDummy = "")
End Function

Download code

This visual basic code was pasted on September 25, 2009




Protected with advance Anti-SPAM techniques :)
Coded and designed by Fedmich
Follow us on Twitter