Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CopyFile API
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00454724
Message ID:
00455612
Vues:
43
>Try:
>
>IF CopyFile('c:\temp\test.txt',['\\servername\printer name'],0) # 0
>
>This will pass everything inside the [] to the CopyFile function. Maybe it will work (can't test it from my current location).

Larry,

This doesn't seem to be working, I will test some more. The other problem I am going to have is that I want to get the printer name at the client location using the APRINTERS() function. If this function returns a shared printer name with a space, how would you handle passing of a variable?

= APRINTERS(laPrinters)
IF CopyFile(lcTextFile, laPrinters[1,1], 0) # 0

Thanks again for your continued help.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform