Index
2012-05-29 18:24 – Jon Westcot : Problem upgrading project from VFP6 to VFP9
2012-05-29 23:47 – Michael Madigan : Re: Problem upgrading project from VFP6 to VFP9
2012-05-30 06:41 – Richard Kaye : RE: Problem upgrading project from VFP6 to VFP9
2012-05-30 16:24 – Rick Schummer : RE: Problem upgrading project from VFP6 to VFP9
Back to top
Problem upgrading project from VFP6 to VFP9

Author: Jon Westcot

Posted: 2012-05-29 18:24:03   Link

Hi all:

I'm in the process of upgrading a long-standing project written in VFP6

to VFP9. When I tried to build the project, I get an error that the Project

Memo File is either missing or invalid. Well, it's there, and, if I open

the Project file as a DBF, I can see the content of the filled "Memo" fields

just fine.

Does anyone have any idea why VFP9 thinks this is an invalid Memo file?

Moreover, does anyone have a suggestion on how to fix it?

Thanks much!

Jon

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/A27CB809CB6346FCACABB34955248D7F@Megabox

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Jon Westcot
Back to top
Re: Problem upgrading project from VFP6 to VFP9

Author: Michael Madigan

Posted: 2012-05-29 23:47:49   Link

What if you create a new project and add the main program or screen, then rebuild it?  It may ask you to convert the screen.  Make sure you backup everything first. 

----- Original Message -----

From: Jon Westcot <jon@westcot.net>

To: ProFox <profox@leafe.com>

Cc:

Sent: Tuesday, May 29, 2012 7:24 PM

Subject: Problem upgrading project from VFP6 to VFP9

Hi all:

    I'm in the process of upgrading a long-standing project written in VFP6

to VFP9.  When I tried to build the project, I get an error that the Project

Memo File is either missing or invalid.  Well, it's there, and, if I open

the Project file as a DBF, I can see the content of the filled "Memo" fields

just fine.

    Does anyone have any idea why VFP9 thinks this is an invalid Memo file?

Moreover, does anyone have a suggestion on how to fix it?

    Thanks much!

        Jon

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/A27CB809CB6346FCACABB34955248D7F@Megabox

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1338353269.60271.YahooMailNeo@web125605.mail.ne1.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Michael Madigan
Back to top
RE: Problem upgrading project from VFP6 to VFP9

Author: Richard Kaye

Posted: 2012-05-30 06:41:54   Link

If the project opens OK, you can try the clean up project command on the project menu and see if that fixes your problem.

Use COPY TO... or a SQL SELECT statement to make a new copy. Remember you may need to rename the file extensions since VFP expects PJ?

Michael's suggestion to create a new project and add your main program will definitely give you an error free PJX but you will need to make sure you manually add back any files it doesn't pull in automagically. With a little code, you can get a list of files out of a project by iterating through the files collection of the _vfp.activeproject object. If you look in the downloads section, you'll find a sample utility I contributed a few years ago that does just that.

--

rk

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On Behalf Of Jon Westcot

Sent: Tuesday, May 29, 2012 7:24 PM

To: profoxtech@leafe.com

Subject: Problem upgrading project from VFP6 to VFP9

Hi all:

I'm in the process of upgrading a long-standing project written in VFP6 to VFP9. When I tried to build the project, I get an error that the Project Memo File is either missing or invalid. Well, it's there, and, if I open the Project file as a DBF, I can see the content of the filled "Memo" fields just fine.

Does anyone have any idea why VFP9 thinks this is an invalid Memo file?

Moreover, does anyone have a suggestion on how to fix it?

Thanks much!

Jon

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0441D52EAC305@ACKBWDDQH1.artfact.local

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Richard Kaye
Back to top
RE: Problem upgrading project from VFP6 to VFP9

Author: Rick Schummer

Posted: 2012-05-30 16:24:19   Link

>> Moreover, does anyone have a suggestion on how to fix it?<<

It could be a bad error message.

Try building the project with the Debug Output window open. VFP logs all the build messages. Seeing the log might reveal

a problem with one of the source files.

Rick

White Light Computing, Inc.

www.whitelightcomputing.com

www.swfox.net

www.rickschummer.com

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000601cd3eaa$93435bc0$b9ca1340$@whitelightcomputing.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Rick Schummer