×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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!

*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

Error 2005 error loading file

Error 2005 error loading file

Error 2005 error loading file

(OP)
I am working on updating our PRO50.  In doing this I have to convert the program to VFP 7.

I am entering an invoice and when I click on line items it gives me an error 2005 error loading file.

Also some of the screens if I try to MODI FORM AR\AR??? it gets a record number problem.  

Their was no project file with the installation (we have and paid for the source code).  Does anybody have a standard project file so I can build from that.

Thanks.
 

RE: Error 2005 error loading file

What is the SBT version you moved into?

From Sage Accpac 6.x, screens must be open as a class, so you should try modi class command instead of modi form.

Programming style is also different, so you should be trainned before you enter to make modifications.


 

RE: Error 2005 error loading file

(OP)
Thanks for the reply.  To clarify our situation.

We have SBT pro50.  It was compiled in an earlier version of Foxpro (5 I believe).  I am trying to make some changes unit prices to 4 decimials and 6 line addresses being the most pressing.

For example if I
MODI FORM \PRO50\AR\ARLIST it errors out with error loading file .... class def sbtform.  How can I avoid that?

And how can I tell what file it is unable to load when I get a 2005 I can send screen shots if you need.

Thanks.




 

RE: Error 2005 error loading file

You have to modify the data dictionary and then update from data dictionary.  You find those funtion in the system manager section.

RE: Error 2005 error loading file

I would guess that you need to set you Default Directory first. The icons and ancestor classes are stored with relative paths.

So, SET DEFAULT TO F:\PRO50
Then: MODIFY FORM AR\ARLIST

If you make changes to any compiled code in a version of VFP higher than 5, then you will need to re-compile everything. And that might make the SBTW executable no longer work. You can't re-compile that easily.
Also, I think there may be issues with the way VFP7 and higher deal with Windows Themes.
I would recommend any changes be done in VFP5 to avoid disappointment.

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! Already a Member? Login

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