Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6 Printer Settings in .frx
Message
De
01/05/2015 12:06:10
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
01/05/2015 11:33:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619320
Message ID:
01619333
Vues:
38
>>>>>This must have been asked and answered many times before, but I can't find it.
>>>>>Is there any way to prevent VFP from saving printers settings in the .frx?
>>>>>I have a written a utility that removes them, but it would be nice if they weren't there.
>>>>
>>>>Your way is the only secure one in your version.
>>>>
>>>>The only thing you can improve is to write a project hook (i guess it was introduced with V 6) that will do the job on every project compile.
>>>>For all I remember on V 6 it was wise to pack vcx's (possibly scx's) an the same place.
>>>>
>>>That's a good thought but this is an SBT application that doesn't use a project.
>>>So I have to remember to run the utility or wait till the client complains.
>>
>>The link to SBT is very strange. :)
>>
>>Without a project there is nothing that can hook on changes. :(
>>
>>OTOH if it is not compile into anything you can do the remove just before REPORT FORM in the running prog.
>
>Good thought, Lutz.
>I wonder if that would be an issue if someone else had the report in use.

If you try something like USE EXCL with an on error handler (No TRY CATCH on this version I think). Possibly you mark the frx dirty (SYS(2007) for lookup?) and run only one time. Or just look with USE SHARED to check the fields to minimize the risk
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform