Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dos like printing from in foxweb
Message
De
31/08/2005 13:52:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxWeb
Divers
Thread ID:
01044888
Message ID:
01045592
Vues:
19
>Use using a foxweb based website
>
>I use @say to print my fields to a TXT.file
>Then I use the lines below, as I use in my PC
>But is does not work
>
>Anybody has a clue ?
>
>
>DECLARE INTEGER CopyFile IN KERNEL32.DLL ;
>     STRING @SourceFileName, ;
>     STRING @DestFileName, ;
>     INTEGER bFailIfExists
>  IF CopyFile('REEMB.TXT','LPT1:',0) # 0
>     *  It was copied
>  ELSE
>     *  it wasn't
>  ENDIF
>
What is the error return code? Also, what user is the FoxWeb service running under? System user does not have access to shared resources. Why are you using this technique for printing and not more modern method liek REPORT FORM?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform