Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using DOS Code Page in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00114694
Message ID:
00114808
Vues:
17
>Is there any way to use the DOS Code Page in VFP. We are currently
>re-writing our Clipper /FoxPro app. with VFP & all of our hand-coded reports use Esc. control codes for printer setup but several of the ASCII chars. we use in DOS are not available under Windows. We have tried placing 'Codepage=437' in our config.fp file & have tried using the VFP cpconvert() function also, to no avail. We currently don't have the time (nor the inclination) to convert all these reports over to the Report Writer just yet.

Mark,

In VFP, MODI FILE xx.prg AS 437 will open the file with codepage 437.
If you want to udpate it to Windows, so that you'll never have to use the "AS" clause while opening is to save it in the Windows codepage (1252, I suppose), use the "Code Page" button of the "Save As" dialog.

Another valid choice, if you use the project manager, simply associate codepage 437 to your PRG files (menu project / project Info).


José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform