How easy is it to convert an application from Visual Foxpro 6 to Visual Foxpro 9?

Are there any problems converting the Visual Foxpro 6 application to Visual Foxpro 9; or is it straight?

Any errors that I have to observe during the process?

+3
source share
5 answers

yes ... depending on the many elements of your project. I currently have applications in both VFP9 SP1 and VFP9 SP2 (with HotFix3 reports)

Some HELP issues run under VFP9 with older SQL queries

70 , , 70. 8 9 , ... , , , , . 8 9 , ... , , "" MAX (SomeField) SomeField. , .

, , SELECT SUM(). , , SUM() NULL, , . , COUNT (*) ActualRecords, . , "Result.ActualRecords = 0" - , , , , .

, , 6 , " " . , .

SQL SUM(). ,

SELECT NVL (SUM ( ), 0) FinalColumn, , NVL() , , NULL. MIN(), MAX(), AVG() ..

, ...

+9

, . DRapp, SQL-SELECT, GROUP BY, SET ENGINEBEHAVIOUR. VFP6 SET REPORTBEHAVIOUR.

VFP9 , DBF, VFP6. , DBF VFP9 2065, , . SET TABLEVALIDATE.

+5

VFP 6, , VFP 9 SP2.

, , - VFP 6 ODBC. - , VFP 7 VFP 9, , , varchar, , ODBC . VFP OLE DB, OLE DB.

, GDI +, , , . , SET REPORTBEHAVIOR , .

, , - AFIELDS() . .

- , , .

+5

. vfp6, , , , vfp9 ..

... , " " , , .

+4

VFP9. .

, , What New VFP7, VFP8 VFP9. , , . VFP6 MSDN.

. /, .

, UAC Vista . , VFP8 , . VFP9 Application Application Manifest, , requestExecutionLevel asInvoker. VFP8 ( ), , .

, Vista .

  • HKEY_LOCAL_MACHINE .
  • % programfiles% . .

You have the option to update the application manifest , but I would not recommend it unless your program requires administrative privileges.

Finally, there are a number of Vista incompatibilities - some related to Aero - fixed with VFP9 SP2. So, if you are going to use VFP9, be sure to use Service Pack 2.

+2
source

Source: https://habr.com/ru/post/1736327/


All Articles