>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