Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP!!! Error Instantiating a class on page in pageframe
Message
De
11/11/1997 15:39:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00059573
Message ID:
00059584
Vues:
36
>Hi
>
> I have a program that used to work. I have a pageframe with
>several pages and on each page I have created a class containing
>the controls. When the page is activated for the first time I
>create an object from the class containing the controls. I do this
>in order to speed up form loading. Anyway the other pages work fine.
>In fact when I run this from my development environment it works
>fine. However when I create the EXE file and put it in my distribution
>directory I get an error instantiating this object from this one
>page only!!!! Any ideas?
>
>Gary

Do any of the controls that you are trying to instanciate live in different .vcxs? It sounds like a path/library problem to me. Double check the location of your class libraries and make sure they are included and in the same directories as your other libraries, or include their directories in the path. Probabl the reason it used to work is that the library got moved or the path changed somewhere else in the program.

I have a gripe about the way we are forced to do all of this even though the project file knows where the libraries are (if they are included in the project).
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform