Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding method code at tun time?
Message
De
11/12/2003 19:54:40
 
 
À
11/12/2003 07:19:51
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:
00858428
Vues:
22
Thanks Hilmar,

It works well and I don't even have to do the compile.

Regards
Doug Johnston


>>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.
>
>OK. How about simply using the COMPILE command on the PRG? A button on a form could have some simple commands; the following is a very simplified version, to which you could add a few things:
>
>
>if file("Report1.prg")
>  compile Report1
>  do Report1
>else
>  MessageBox("Report file Report1 is missing.")
>endif
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform