Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding method code at tun time?
Message
De
10/12/2003 21:02:52
 
 
À
10/12/2003 09:31:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00857529
Message ID:
00857948
Vues:
27
My application has report forms for invoices which are not built into the exe but reside in the data folder so they can be easily modified for different company needs.

I have added an email facility for invoices where I write to a .txt file using @ SAY and then email the text file as an attachment. By having the lowlevel (FWRITE etc) and @ SAY routine as a .prg file, also found in the data directory, it can be easily modified for customer requirements without having to make modifications to the exe.

Regards
Doug Johnston




>It would be interesting to know what you want to use it for. Quite often, you can solve the problems without dynamically creating code, simply by putting the required code into a class.
>
>>Hi,
>>
>>Is there any way to get VFP to read in some method code from a text file at run time?
>>
>>I have tried to get reasonable text output from REPORT FORM cReport TO FILE cFname ASCII, but this produces very unreliable results, so I thought perhaps put all my low level file and @ SAY stuff into a text file and read and execute this at run time.
>>
>>Regards
>>Doug Johnston
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform