Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems in migrating to VFP 9.0
Message
From
17/06/2005 13:16:50
 
 
To
17/06/2005 10:13:39
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01024304
Message ID:
01024388
Views:
24
>I got into an error in opening a vcx file built in previuos version.
>The error is mentioned even in the VFP help but I haven't undersatood very well what to do. Anyway this morning I realized that it was just a record in the vcx table that had the error, so I manually deleted it and succed in opening the vcx file with VFP 9.
>Then I tried to recompile the project but I got in the same error with the pjt file.
>How come ? Any Ideas ?
>I was thinking about putting all th class definition in a prg file. What do you think about that ?

Alessio, prova questo
* !!!!!!!!! do a full backup !!!!!!!!!

ProjectPack(GETFILE('pjx'),0)

PROCEDURE ProjectPack(projectName,validateLevel)
IF EMPTY(m.projectName)
	RETURN
ENDIF
CLOSE ALL
SET EXCLUSIVE ON
PRIVATE oFile,validateOld
validateOld = SET("TABLEVALIDATE")
SET TABLEVALIDATE  TO  EVL(m.validateLevel,0)
USE (m.projectName)
PACK
USE
MODIFY  project (m.projectName) NOWAIT

FOR EACH oFile IN _VFP.Application.ActiveProject.Files
 TRY 
  IF m.oFile.Type $ 'dDQKRBV'
    USE (m.oFile.Name)
    WAIT WINDOWS m.oFile.Name TIMEOUT 0.1
    PACK 
    USE 
  ENDIF
 CATCH
 ENDTRY 
ENDFOR 
WAIT CLEAR
SET TABLEVALIDATE  TO  m.validateOld
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform