Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding method code at tun time?
Message
From
11/12/2003 19:54:40
 
 
To
11/12/2003 07:19:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00857529
Message ID:
00858428
Views:
24
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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform