Pour la recherche utilse les API
Public Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long
Public Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" (ByVal hFindFile As Long, lpFindFileData As WIN32_FIND_DATA) As Long
Public Declare Function FindClose Lib "kernel32" (ByVal hFindFile As Long) As Long
Source utile :
http://www.vbfrance.com/code.aspx?ID=4928Pour l'autre question. Utilise plutôt la fonction shell en lui passant le nom de ton fichier
exemple :
shell(CheminAccess + " " + NomFichier,
vbMaximizedFocus )
