Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5: Error Instantiating the Object
Message
De
19/08/1997 11:22:21
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
À
19/08/1997 10:27:30
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00045514
Message ID:
00045559
Vues:
35
>>Hi all,
>>
>>I'm getting the error "Error Instantiating the Object" when calling up a form I have saved as a class. I've been calling this object for several months and, to my knowledge, have not updated that class's code for some time. I did upgrade to 5.0a, but I've got a client station reporting the same error that is still running 5.0. I've tried commenting out all init/load/activate code in the class, to no avail.
>>
>>Anyone have an easy answer / some advice on where to look?
>>
>>TIA,
>>
>>Gary
>
>1. Have you cleaned up the project lately?
>2. Is is a blank form? Or might there be an object on the form that's giving you grief?


The most likely culprit causing this error, (especially with forms as classes) is an incorrectly spelled field name in a controlsource. I know because I have hunted this one down MANY MANY times and it practically always means checking every control and verifying that the reference is correct (no stray letters, etc). You can sometimes track it to the page on a pageframe with the debugger but as soon as the debugger gets near the offending control, poof! it blows you out!

Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform