Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP!!! Error Instantiating a class on page in pageframe
Message
From
11/11/1997 16:32:21
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00059573
Message ID:
00059594
Views:
37
>>>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
>
> Yes the path is ok. I have controls right next to it in
>the same library that work fine. It appears to have something
>to do with the Sheridan Calendar Widget Combo Control. It
>works in other instantiations from the same class, however.
>I hate when these kind of bugs show up. They drive me nuts!!!!
>Any more ideas???? HELP!
>
>Gary

What does the error message say?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform