Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Netfileclose
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00376642
Message ID:
00381425
Vues:
25
>I have problems with netfileclose, I'm can't find what I'm doing wrong.
>This is the code I'm using
>thisform.txtserver.value is fileid that I get from netfileenum
>Sometimes I get returncode 123 and sometimes 53.

53 is "The network path was not found."

>DECLARE INTEGER NetFileClose IN "NetAPI32.dll" ;
>STRING cServer, ;
>INTEGER nFileID
>server=thisform.txtserver.value
>id=int(val(thisform.txtID.value))
>
>PS. where can I found the meaning of the errorcodes.
>I know from george what 123 means-->"The filename, directory name, or volume label syntax is incorrect."

The MS Visual Studio ships with a number of tools, one of which is the Error Code Lookup program. It's named ERRLOOK.EXE.

>Or is there another way to close open files on the network
>

>Thanks in advance
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform