Hello, i've software developed with VFP 6.0 and i try to open the project with VFP 9.0 but when try to open, some clases like grids, forms, and formsets not appears in the project, simply is ignored.
What it is the problem ?.
I haven't worked with VFP6 for more than 20 years, so I don't remember all the details. I suggest that you simply recreate the project from scratch in VFP9.
Mike, if you study the pictures, you will see that the same class is specified, but the VFP6 version shows many more objects within the class. Another possibility is that there are two different classes with the same name.
Ah, so it is classes that are missing from the class library - not files from the project. In that case, the solution might be to open the class library in the class browser (in VFP 9), and hit "Clean up class" (assuming all the classes are visible in the class browser).
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
You could indeed PACK the VCX, "clean up project/database/.../etc." is nothing else but PACKING the table a pjx, dbc, vcx etc. really is.
It's still weird an unpacked library should only have more classes if there are records marked for deletion it still sees.
It's been a while for me, too, I only remember problems the other way around when a project once was worked on in VFP several classes get new properties like Anchor added and you then can't work on that in VFP6.
Don't work on the same files with both VFP versions, that's surely deadly for the health of the file structures. Once you make the transition that is a one way move.
Copy the original VFP6 project and only open that copy in VFP9, build an exe with the recompile all files option checked. You might get a few errors VFP6 swept under the rug, I had such cses VFP6 assumed a semicolon at places there wasn't but VFP9 was more strict.
Anyway, at least after that step all the VCXes will have been rewritten with object code in the corresponding memo fields.
Have you tried removing the whole of the class library from the project (in 6), and then adding it back in again (in 9)?
And if that doesn't work, try moving the missing classes to a temporary class library, then delete them from the main library (do that in 6). Then, in 9, add the temp library to the project and move the classes from there to the main library.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.