×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

¿ What i'm doing bad ?

¿ What i'm doing bad ?

¿ What i'm doing bad ?

(OP)
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 ?.

RE: ¿ What i'm doing bad ?

A project is also a DBF, but with another extension, PJX. Maybe it's corrupted. Try to "Clean up Project" in VFP6.

RE: ¿ What i'm doing bad ?

(OP)
The project y VFP 6.0 it's run fine, and i do 'Clean Up Project' with the same result.

In the next image appears a project open with VFP 6.00



In this other image it's show the same project but open with VFP 9.00



Of course i've used 'Clean up project' before. It's really weird.

RE: ¿ What i'm doing bad ?

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.

RE: ¿ What i'm doing bad ?

Is there any reason why you can't just add the missing files back to the project?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: ¿ What i'm doing bad ?

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.

RE: ¿ What i'm doing bad ?

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)

Visual FoxPro articles, tips and downloads

RE: ¿ What i'm doing bad ?

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.

Bye, Olaf.


Olaf Doschke Software Engineering
https://www.doschke.name

RE: ¿ What i'm doing bad ?

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)

Visual FoxPro articles, tips and downloads

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close