Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with ERROR INSTANTIATING THE OBJECT
Message
 
 
À
01/06/1999 20:49:08
James Boden
Software Solutions For Business
Cumberland, Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225175
Message ID:
00225199
Vues:
15
Jim,

If you did a SaveAsClass for a form, you lost the DataEnvironment in the process and now you probably have controls that are trying to bind to their data sources and they can't. The error should be giving you the row number of the record in the vcx that is having the problem. You can USE the vcx and look in the Properties memo of that record to see which control it is.

>I am having trouble getting a screen to work as a class.
>I keep getting the error message that it cannot instantiating the object.
>
>I have saved a form as a class. I have then opened a new class based off that saved form. I have added 4 items to it. Two combo boxes and 2 text boxes and an exit button. This is just a logon screen that the people will pick the company and the user to set the level of security. I have tried to run this only from the command box but it still does not wok.
>
>I have tried to mirror the trastrade sample from VFP 5.0 in the way it works.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform