Information générale
Catégorie:
Codage, syntaxe et commandes
>>>Could someone point me towards the VB commands for doing the following:
>>>
>>>- check if a file exists
>>>- determine size of a file
>>>- copy a file from one folder to another
>>>
>>>I have been scratching my head with the VB help for awhile looking for a command for each.
>>
>>I have found out how to determine the size of a file and how to copy. How do I check if a file exists. Currently, I open a connection to the file. My errorhandler catches error 53 (file does not exist). Is there a command that will do this instead of using the error handler?
>
>Take a look at the DIR() function.
Exactly what I needed. Thanks Ed.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement