Página 1 de 1

Function Exist File VB6

Publicado: 19 Dic 2009, 21:14
por The Swash
Function:

Código: Seleccionar todo

'------------------------------------------------------
'Coded By The Swash
'[email protected]
'www.Indetectables.net & www.Leandroascierto.com.ar
'Exist Function if know File Exist
'------------------------------------------------------
Public Function Exist(file As String)
 On Error Resume Next
  Exist = GetAttr(file)
 Exit Function
End Function
Use:

Código: Seleccionar todo

 If Exist(your file path) Then
  MsgBox"My File Exist"
  Else
  MsgBox"My File Not Exist"
 End If

Re: Function Exist File VB6

Publicado: 20 Dic 2009, 01:34
por Lordcam
Exelente..!!!